Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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