baloise/design-system

:bug: fix(dropdown): define how to reset the value either with '', [] or undefined

Opened this issue · 0 comments

Current Behavior

to reset the dropdown to not have a value we need to do

this.cityControl.reset('')
this.cityControl.reset([])

Expected Behavior

we should be able to reset the component with either '', [] or undefined

but only once

Steps to Reproduce

  1. set value
  2. reset value

but with angular forms

Version

latest

Browsers

No response

Device

No response

Code Reproduction URL

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct