ReferenceArrayInput with AutocompleteArrayInput flickers and resets value on search when used with format and parse

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

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

@djhi がすでに取り組んでいます。

2023年1月27日 から。

  • #8599 @djhi による — マージ済み

評価

この issue はまだ評価されていません。

説明

documentation

What you were expecting:
When using AutocompleteArrayInput with a ReferenceArrayInput with parse/format options:

  • the options list should not flicker
  • the input value should not reset itself

What happened instead:

  • the options list values flicker
  • the input value resets itself

Steps to reproduce:

  1. Open code sandbox
  2. In the preview window, go to Comments list
  3. Click on the icon to create a new comment
  4. Select any value(s) in the Comments input
  5. Enter any few characters

Related code:
CodeSandox: https://codesandbox.io/s/array-reference-input-xrrv94?file=/src/posts/PostCreate.tsx

Environment

  • React-admin version: 4.7.1
主要言語
TypeScript
スター
27k
フォーク
5.5k
平均マージ
1日 1時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

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

marmelab/react-admin のほかの issue

marmelab/react-admin の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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