qiwi / pijma

Yet another user interface components library. Weird. Slow. Our own.
MIT License
32 stars 28 forks source link

fix: masked input trigger change handler on remove whole value #567

Closed vasiliigavshin closed 1 year ago

vasiliigavshin commented 1 year ago

https://github.com/qiwi/pijma/assets/131945009/ee2d40b1-5524-4baa-bb2a-8d69e55e2532

This code fixes issue from text-mask-core https://github.com/text-mask/text-mask/issues/992. There is PR in text-mask-core but library is abandoned.

Changes

it removes defining defaultValue with value. And instead uses input's value property for external value.