jQuery-iMask icon indicating copy to clipboard operation
jQuery-iMask copied to clipboard

Plugin does not work with the knockoutJs

Open Ridermansb opened this issue 11 years ago • 1 comments

When I try to use the plugin with the knockoutjs, it does not work.

Look at the example: http://jsfiddle.net/Ridermansb/agj36/1/

When you make any change in the name field, everything works perfectly.

But any change in value (beyond the mask not applied initially) any change is not reflected in my model.

Ridermansb avatar Sep 11 '12 18:09 Ridermansb

This is the exact reason I'm reading through these issues. I have a complex form built using knockout js. I was using jquery numeric applied using a custom binding. On update of the binding, I format with commas. But this is behaving oddly. So I tried jquery iMask, and it's much better than what I had before. But, still, it does not apply masks when the value is pushed from the binding to the ui element.

cosmoKenney avatar Apr 12 '13 21:04 cosmoKenney