Skip to content

v1.1.1 DBTabItem "onChange" prop not executed after initial execution #3938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 7 tasks
MihajloLazar1 opened this issue Mar 13, 2025 · 0 comments
Open
1 of 7 tasks
Labels
👩‍👧‍👦community feedback Feedback from community ❓question Further information is requested

Comments

@MihajloLazar1
Copy link

Which generators are impacted?

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

Reproduction case

<DBTabs
    initialSelectedMode="manually"
    onTabSelect={(event) => {
        console.log('DBTabs onTabSelect', event);
    }}
    onIndexChange={(index) => {
        console.log('DBTabs onIndexChange', index);
    }}
>
    <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.

I saw the ticket #3595 is closed, but it looks like the issue still persist. Can you please check this out? Am I using the component wrongly maybe?

@mfranzke mfranzke added the ❓question Further information is requested label Mar 17, 2025
@mfranzke mfranzke moved this to 📋 Backlog in UX Engineering Team Backlog Mar 17, 2025
@mfranzke mfranzke added the 👩‍👧‍👦community feedback Feedback from community label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👩‍👧‍👦community feedback Feedback from community ❓question Further information is requested
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants