We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disableRemove
It seems that the following code will always log out an empty object in the console.
<ArrayInput source="resourcePools" label="CP Resource Pools" level={2}> <SimpleFormIterator disableRemove={record => { console.log(record); return true }} > ... </SimpleFormIterator> </ArrayInput>
What you were expecting: To be given the record of the current ArrayInput iterable
Steps to reproduce: If you go to the repro case
You'll observe that the input is populated, but no data is being passed through to the disableRemove function
Related code:
insert short code snippets here
Other information:
Environment
The text was updated successfully, but these errors were encountered:
Reproduced, thanks!
Sorry, something went wrong.
I'll be happy to take a pass at this!
record
Successfully merging a pull request may close this issue.
It seems that the following code will always log out an empty object in the console.
What you were expecting:
To be given the record of the current ArrayInput iterable
Steps to reproduce:
If you go to the repro case
You'll observe that the input is populated, but no data is being passed through to the
disableRemove
functionRelated code:
Other information:
Environment
The text was updated successfully, but these errors were encountered: