You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, mutationMode attribute is available in Edit component, but not available in Create component
In order to specify mutation mode in Create component, I have to use mutationMode property of Form component, however it has 2 issues:
It is undocumented in React-Admin
It only works with Create components; and does not work with Edit components
I would like mutation mode to be consistently used in both Create and Edit components.
I also would like to remove mutationMode property from Form component properties (from SimpleFormProps) so that typescript will not offer it as an option
The text was updated successfully, but these errors were encountered:
No mutationMode other than pessimistic is allowed in the Create view by design. Or, to put it otherwise, optimistic creations aren't supported (because the client-side often doesn't have the sequence required to create an identifier)
So Create doesn't need to support a mutationMode prop.
Is your feature request related to a problem? Please describe.
Currently, mutationMode attribute is available in
Edit
component, but not available inCreate
componentIn order to specify mutation mode in Create component, I have to use
mutationMode
property ofForm
component, however it has 2 issues:Create
components; and does not work withEdit
componentsDescribe the solution you'd like
Create
andEdit
components.mutationMode
property fromForm
component properties (fromSimpleFormProps
) so that typescript will not offer it as an optionThe text was updated successfully, but these errors were encountered: