networkteam / ember-cli-maskedinput

Masked <input/> Ember component based on inputmask-core (no jQuery)
MIT License
25 stars 11 forks source link

Get access to the raw value #11

Closed jpoiri closed 7 years ago

jpoiri commented 7 years ago

Hi there,

I noticed the component returns a formatted value, is there a way to get access to the raw value instead?

hlubek commented 7 years ago

No, actually the underlying inputmask-core library does not have this feature as far as I know. You could use a regular expression to remove the masking characters from the value to get a raw value.