Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

[FRAF-873] - Pass onClick to the wrapper of checkbox #2314

Merged
merged 2 commits into from
Aug 8, 2022

Conversation

eniskraasniqi1
Copy link
Contributor

@eniskraasniqi1 eniskraasniqi1 commented Aug 8, 2022

Description

When using checkbox on a Datagrid Row, currently when clicking the checkbox triggers the row to be clicked also.
This is happening because we're not passing the onClick to the container, so when trying stopPropagation it does nothing.

Manual check

  • Link ui locally with core PR
  • Go to one of the new company detail pages, and create a time tracking in the unbilled time widget
  • Click Checkbox, it shouldn't trigger row click

@eniskraasniqi1 eniskraasniqi1 self-assigned this Aug 8, 2022
@KristofColpaert
Copy link
Contributor

KristofColpaert commented Aug 8, 2022

MC ok

@eniskraasniqi1 eniskraasniqi1 merged commit cd0945a into next-release Aug 8, 2022
@eniskraasniqi1 eniskraasniqi1 deleted the FRAF-873-checking-grid-item-bug branch August 8, 2022 13:22
@eniskraasniqi1 eniskraasniqi1 mentioned this pull request Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants