Skip to content

v0.5.1 DBTabItem "onChange" prop not executed after initial execution #3595

Open
@MihajloLazar1

Description

Which generators are impacted?

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

Reproduction case

<DBTabs initialSelectedMode="manually">
    <DBTabList>
        <DBTabItem onChange={() => console.log('1')}>1</DBTabItem>
	<DBTabItem onChange={() => console.log('2')}>2</DBTabItem>
    </DBTabList>
    <DBTabPanel>content 1</DBTabPanel>
    <DBTabPanel>content 2</DBTabPanel>
</DBTabs>

Expected Behaviour

The "onChange" prop must be triggered on each input field "checked" state change, not only once.

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions