onDynamicListenTo does not exist
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 64/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
form.Field API の validators セクションから始め、既存の ListenTo オプションと onDynamic を比較します。onDynamic の定義とその周辺の JSDoc を確認し、リンクされたフィールドのオプションと同等の動作に関するドキュメントが存在すれば作業完了と判断します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Not sure if this should be listed as a bug or feature request. I noticed there was the recent addition of the onDynamic validation options, which is awesome! However, the validators section of a form.Field does not provide an onDynamicListenTo option to link the fields and the current props are missing JSDoc comments which are present for the other options.
Your minimal, reproducible example
N/A
Steps to reproduce
- Add to the validators section of a
form.Fieldcomponent - Note there is no
onDynamicListenToprop, but there is anonDynamicoption - The other validator props have a
ListenTooption to link fields - The new
onDynamicoptions also do not have JSDoc comments describing behavior
Expected behavior
OnDynamic should have an onDynamicListenTo prop to allow for linking fields with the onDynamic validation. I also would expect the onDynamic props to have JSDoc comments like the other fields have.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
- Version: 1.19.2
TanStack Form adapter
react-form
TanStack Form version
1.19.2
TypeScript version
v5.8.3
Additional context
No response
- 主要言語
- TypeScript
- スター
- 6.7k
- フォーク
- 682
- 平均マージ
- 5日 18時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/form のほかの issue
-
難易度 2/5 1〜2日 初心者へのやさしさ 72/100
-
area: runtime scope: devtools type: bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area: runtime scope: core type: bug v1
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
FormApi: onSubmit/onServer error cleared on any non-matching validation cause, not just 'change' オープンv1 v2: needs investigation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
v1 v2: needs investigation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
fullcalendar/fullcalendar#8106 ·