Skip to content

DB Select options need a key prop #4329

Closed
@milan-w

Description

@milan-w

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

When passing the options of a DBSelect as an array via the prop "options", React throws a well-known error message about a missing key prop on array mapped values:

Image

Should be an easy fix, because for nested options in optgroups you actually already implemented a key prop, I guess you just forgot that the parent is also an array 😛

Expected Behaviour

Each option in a rendered DB Select should have a key prop and React should be happy

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions