baloise / design-system

The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
https://design.baloise.dev
Apache License 2.0
100 stars 27 forks source link

:bug: fix(component): open modal in bal-data-value #1076

Closed baengel closed 1 year ago

baengel commented 1 year ago

Current Behavior

If I click on the pen-button, it triggers the event twice, see here the example: codesandbox.io/s/angular-forked-98tdjn?file=/src/app/example.component.html:132-146

Expected Behavior

the event will be triggered only once

Steps to Reproduce

  1. create a ui in angular like: <bal-data-value (balClick)="gugus();" [editable]="true">Value
  2. execute
  3. click on button
  4. gugus will be triggered twice.

Version

14.0.2

Browsers

Chrome

Device

No response

Code Reproduction URL

https://codesandbox.io/s/angular-forked-98tdjn?file=/src/app/example.component.html:131-229

Additional Information

No response

Code of Conduct

hirsch88 commented 1 year ago

done with release 14.0.3