You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some browsers permits characters + and - to be typed into input with type number. These can be inserted anywhere in the input and not constrained to the first character (for example, using - to declare a negative value). This often leads to issue in JavaScript. One of them is the fact that the returned value by the input becomes inaccessible.
To avoid this kind of behavior, the e character is often prevented from being typed in input type number. This is the case for ember-amount-input.
Could this behavior also exists for + and - characters ? As they could be expected by users (for some negative values), should this be only accessible with an arg as absoluteOnly or integerOnly ?
The text was updated successfully, but these errors were encountered:
Some browsers permits characters
+
and-
to be typed into input with type number. These can be inserted anywhere in the input and not constrained to the first character (for example, using-
to declare a negative value). This often leads to issue in JavaScript. One of them is the fact that the returned value by the input becomes inaccessible.To avoid this kind of behavior, the
e
character is often prevented from being typed in input type number. This is the case for ember-amount-input.Could this behavior also exists for
+
and-
characters ? As they could be expected by users (for some negative values), should this be only accessible with an arg asabsoluteOnly
orintegerOnly
?The text was updated successfully, but these errors were encountered: