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
The documentation is misleading. addLabel only works when a component is used as child of <SimpleForm>, <FormTab>, <SimpleShowLayout>, or <Tab>. In other cases, you have to decorate the field with <Labeled> yourself.
What you were expecting:
addLabel should work with FormDataConsumer.
What happened instead:
I have using outlined inputs with labels on my project. And FormDataConsumer ignores addLabel prop.
Steps to reproduce:
Example usage in CommentCreate component:
https://codesandbox.io/s/staging-sunset-cthz9
Possible Solution:
I have created FormGroup componet and covered formData with FormGroup
FormGroup Component:
Environment
The text was updated successfully, but these errors were encountered: