Allow custom add/remove button in SimpleFormIterator
See original GitHub issueIs your feature request related to a problem? Please describe.
Now buttons text taken from translate(), but in my case have to output different button text in different ArrayInput
I want to be able pass custom add/remove button component
Describe the solution you’d like Maybe can pass props to SimpleFormIterator like
<SimpleFormIterator addButton={<AddButton/>} removeButton={<RemoveButton/>}
What do you think about it?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
SimpleFormIterator - React-admin
<SimpleFormIterator> lets users edit, add, remove and reorder sub-records. ... This prop lets you pass a custom element to replace the default Add...
Read more >Only allow creation of new ArrayInput elements in edit/create ...
I either need to have a datagrid and be able to only create new templates, or have the existing entries in the ArrayInput...
Read more >How to Create Draggable Rows in React Admin - Endertech
In a moment, I'll explain what's changed, but first—back in forms.js —import the custom iterator and use it to replace the <SimpleFormIterator>.
Read more >React: Add/Remove Input Fields Dynamically on button click
My React Portfolio Course: https://chaoocharles.gumroad.com/l/react-portfolio-courseSource Code/Starter Files: ...
Read more >React add delete button - Naturus Reisen
How to disable button in React with example Enable/disable the ... Use Bootstrap's custom button styles for actions in forms, dialogs, ...
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

@djhi Thanks for the quick response, I will do that.
Fixed by #4818