ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Apply mask on initial load of component

Open tnfoundry opened this issue 1 year ago • 0 comments

🚀 feature request

Description

Apply mask on initial load. If value is 100, then render as 100.00

Describe the solution you'd like

Mask is applied when value is set on model. When loading component, a reactive form with an amount control exists and value is set to 100. It would be really helpful if when that component rendered that its value was formatted as 100.00

Describe alternatives you've considered

Currently, we have to use a small service to format the value to 100.00 on initial load and it would be great if that service was not required to apply the initial mask.

tnfoundry avatar Dec 02 '23 13:12 tnfoundry