Skip to content

<AutocompleteElement> storybook's "Pre Select" cases needs to clarify where values come from #304

@Skarvion

Description

@Skarvion

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions