Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

RichSelectField Group Options doesn't display the right value #383

Closed
philibea opened this issue Jul 11, 2022 · 1 comment · Fixed by #384
Closed

RichSelectField Group Options doesn't display the right value #383

philibea opened this issue Jul 11, 2022 · 1 comment · Fixed by #384
Labels

Comments

@philibea
Copy link
Collaborator

Describe the bug

RichSelectField:
when using groups options on RichSelectField, there is a bug on display value.

Actually if you set options with

 options: [
    {
      label: 'option1',
      options: [
        {
          label: 'AA',
          value: 'AA',
        },
        {
          label: 'AB',
          value: 'AB',
        },
        {
          label: 'AC',
          value: 'AC',
        },
      ],
    },
    {
      label: 'option2',
      options: [
        {
          label: 'BA',
          value: 'BA',
        },
        {
          label: 'BB',
          value: 'BB',
        },
        {
          label: 'BC',
          value: 'BC',
        },
      ],
    },
  ],

and you select an option, the first group options will be shown.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Find the right option to display.

Screenshots

Enregistrement.de.l.ecran.2022-07-11.a.09.41.49.mov
@scaleway-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 1.20.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants