AutocompleteArrayInput createLabel prop is missing
See original GitHub issueWhat you were expecting: The ReferenceArrayInput also seems to have the same bug https://github.com/marmelab/react-admin/issues/7822
createItemLabel is just displayed empty
<ReferenceArrayInput source="visitors" reference="eventVisitor">
<AutocompleteArrayInput optionText="disp_name" create={<CreateGast />} createItemLabel="Erstellen" />
</ReferenceArrayInput>
SelectArrayInput works normal
<ReferenceArrayInput source="visitors" reference="eventVisitor">
<SelectArrayInput optionText="disp_name" create={<CreateGast />} createItemLabel="Erstellen" />
</ReferenceArrayInput>
- React-admin version: 4.2/4.3
- Last version that did not exhibit the issue (if applicable): 3.x
- React version: 18.x
- Browser: Chome
- Stack trace (in case of a JS error): none
Thx Michel
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
AutocompleteArrayInput inside ReferenceArrayInput #2477
AutocompleteArrayInput inside ReferenceArrayInput causes error with flowing ... In that case, set the `translateChoice` prop to false.
Read more >Input Components - React-admin
Use the onCreate prop when you only require users to provide a simple string and a prompt is enough. You can return either...
Read more >AutocompleteArrayInput displays blank entries
Am I missing a configuration setting? I want to avoid providing an exhaustive list of options to the component, if possible. Environment. React- ......
Read more >react-admin - Projects - FOSSA
... 7822-autocompleteinput-does-not-respect-createlabel-prop; 7831-clear-all-filters ... add-internal-props; add-links-on-landing-page; add-missing-exports ...
Read more >API - React Select
Even when commonProps are not listed in the prop types below, a custom component will still have access to them. StateManager Props. The...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
found a workaround for me. The optionText field doesn’t seem to like other then “name”.
Does not display the ra.action.create_item / optionText=“disp_name”
Shows the ra.action.create_item / optionText=“name”
Ok, so I’m closing this issue, since this sis not a bug