Value Converter Update OnBlur


I have a value converter attached to an INPUT control. I also have a MaskEdit control attached to the input.

I am running into a problem where the ValueConveter is updating the value in real-time, affecting the masking operations.

Question: How can I tell the value converter to update OnBlur, so that it allows the MASK editor to do it’s thing, and only when we are done editing does the value converter attempt to convert the data?


Value converter doesn’t decide when to convert, try using binding behavior to change update trigger.

<input value.bind="mask | yourConverter & updateTrigger:'blur'>


Yeah I tried that… unfortunately Aurelia-Mask ( doesn’t support the binding behavior… something about not support two-way binding