Skip to content
New issue

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

feat: use native react-admin sanitizeEmptyValues #480

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

alanpoulain
Copy link
Member

The PR #460 has added custom code to manage empty values with a sanitizeEmptyValues prop, since it was not available anymore in react-admin 4 (it was in 3).

React-admin 4.4 has added back the sanitizeEmptyValues prop: marmelab/react-admin#8188.

This PR then removes the custom code and enables the native sanitizeEmptyValues prop by default.

@alanpoulain alanpoulain merged commit 408d4d6 into api-platform:main Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant