Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

When using the `LabelSelect()` inside a `Modal()`, selection dismisses the modal.

オープン
#164 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
frontend

調査の方向性

まず、Modal 内に LabelSelect を配置した提供済みの get_user_modal 例を再現し、選択時のインタラクションを確認します。LabelSelect と Modal のエントリポイントをたどり、オプションを選択するとモーダルが閉じる理由を特定します。オプションがモーダルを閉じたり意図しないサーバー呼び出しを発生させたりせずに変更されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

When using the LabelSelect() inside a Modal(), selection of an option from the drop down list appears to dismiss the modal. This appears to be a UI issue only - there doesn't appear to be any server calls on selection.

def get_user_modal(session): 
        return Modal(
            Form(
                LabelInput("First Name", id="first_name"),
                LabelInput("Last Name", id="last_name"),
                LabelSelect(
                    Option("Primary User", "primary_user"),
                    Option("Secondary User", "secondary_user"),
                    id="user_type"
                ),
                cls="space-y-4",
            ),
            header=ModalTitle("Add New User"),
            footer=ModalFooter(
                    ModalCloseButton(),
            ),
            hx_open=True,
            uk_modal="bg-close: false; esc-close: false; stack: true; bg-close-esc: false"
        )
主要言語
Jupyter Notebook
スター
525
フォーク
34
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AnswerDotAI/MonsterUI のほかの issue

AnswerDotAI/MonsterUI の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。