Open russkin opened 8 years ago
I'm not exactly sure what your use case is here. Why would the data in the model be 12
but you want the ui-mask library to overwrite that value on data bind? Why wouldn't the data in the model already be in the required format if you are setting model-view-value=true
, especially if you are loading that data from somewhere?
Code
result:
Code also available at link http://jsfiddle.net/9o9bke9c/