ember-phone-input
ember-phone-input copied to clipboard
Phone input doesn't update when its bound variable is set/cleared externally
When using this input, it's not possible to clear or reset the input. Example usage:
{{phone-input initialCountry="us" number=phone update=(action "phoneUpdated")}}
On form submit, I call this.set("phone", null)
, but the input field maintains its value. I couldn't find a way to clear it without resorting to jQuery.
Hello, thanks for spotting this ! I'll try to have a look by the end of the week :)
Hi, did you found a fix for this issue? I'm experiencing the same thing... This is working well to set the value to anything else, but it doesn't work for empty value - null or empty string (the goal is to clear the field). Thank you! :)