onDynamicListenTo does not exist

オープン 初心者向け
#1,698 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

form.Field API の validators セクションから始め、既存の ListenTo オプションと onDynamic を比較します。onDynamic の定義とその周辺の JSDoc を確認し、リンクされたフィールドのオプションと同等の動作に関するドキュメントが存在すれば作業完了と判断します。

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

説明

type: enhancement v1
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
  1. Add to the validators section of a form.Field component
  2. Note there is no onDynamicListenTo prop, but there is an onDynamic option
  3. The other validator props have a ListenTo option to link fields
  4. The new onDynamic options 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

TanStack/form のほかの issue

TanStack/form の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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