Skip to content

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

Open
@tomek3e

Description

@tomek3e

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions