[Custom Components] Multiple component schema info showing more than one component rather than allowing an array of values to be captured.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- angular, typescript
- 領域
- frontend
調査の方向性
カスタムコンポーネントの登録とその JSON スキーマから始め、次に multiple を有効にした select コンポーネントを再現します。スキーマの multiple オプションがレンダリングと値の検証にどのような影響を与えるかを確認します。選択された値が複数のコンポーネントインスタンスをレンダリングせずに 1 つの配列として取得されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello ,
The "multiple":true is acting like I wanted multiple of that component in one space rather than If this component should allow an array of values to be captured.
Wanting to make a custom multiple select component , When I add in the "multiple":true into the object for the component it gets rendered out as :

Yet without it I am getting an error that says the component can not be an array:

In the custom component I have the the multiple option in select set to true , so the component returns the items selected as an array.
This is the custom component I am calling :
Json part :

Registering it :

Note: the comment out schema acts like the "multiple":true, in the Json.
I believe I left something out in registering it but I can not figure out what. I say that because the same behavior is seen when the "multiple":true is added to other components that normally do not return an array.
- 主要言語
- TypeScript
- スター
- 706
- フォーク
- 493
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
formio/angular のほかの issue
-
question
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
[BUG] <form-builder> move icon is missing再び着手できるかも @PrathameshHegde が 99 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptions再び着手できるかも @Victoriya25 が 363 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
bot:ai-assisted component:platform-js status:untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
midnightntwrk/platform-js#38 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ranxianglei/billion-context#7068 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ilan-pinto/roaring-lions#1552 ·
メンテナーはふだん 1 日以内に返信