Duplicates
Latest version
Summary 💡
Took me a long time to understand that the default values of a field are provided at the form container level. Reading through the storybook documentation, it doesn't make it clear it's populated at the form level.
The stories should contain <FormContainer> too or at the very least a comment explaining that the default values are added there. Probably can add a paragraph element using this https://storybook.js.org/docs/writing-stories/decorators#context-for-mocking
If you'd like to, I can try to raise a PR to go for the second option.
Examples 🌈
No response
Duplicates
Latest version
Summary 💡
Took me a long time to understand that the default values of a field are provided at the form container level. Reading through the storybook documentation, it doesn't make it clear it's populated at the form level.
The stories should contain
<FormContainer>too or at the very least a comment explaining that the default values are added there. Probably can add a paragraph element using this https://storybook.js.org/docs/writing-stories/decorators#context-for-mockingIf you'd like to, I can try to raise a PR to go for the second option.
Examples 🌈
No response