How to call custom JS before inline add/edit form is show

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

メンテナーはふだん 4 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, php
領域
frontend

調査の方向性

まず、issue で説明されているインラインの追加/編集フォームのライフサイクルと selectize の統合を追跡します。追加フォームが表示される前に callback または hook が存在するかどうかを確認し、項目の追加フローを繰り返して、新しいフォームが空の selectize 入力で開始できることを確認して動作を検証します。

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

説明

Hello, i have problem with inline add/edit and selectize:

  1. After click on add item the form for add is displayed.
  2. I search for some string in selectize (loaded from DB) and found items are correctly displayed.
  3. I select one of the found items and save the form.
  4. Repeat the steo 1 above.
  5. I click in the selectize input and there is item from step 3.

The goal is has always empty selectize when adding new item.
Is there any way i could call custom JS before showing add form? I can clear selectize with JS easly, but dont know how or even if i can call it.

Is there any way? Thank you

主要言語
PHP
スター
297
フォーク
214
平均マージ
3日 23時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

contributte/datagrid のほかの issue

contributte/datagrid の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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