We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tests are failing, but in practice it works.
The text was updated successfully, but these errors were encountered:
It appears that triggering the keypress event using js is not the same as clicking the input field and pressing 4.
keypress
4
$number = $('<input />').val('123') e = $.Event('keypress') e.which = 52 # 4 $number.trigger(e) assert_equal '1234', $number.val()
So you may be wondering why do the tests pass on the other fields even though their formatters are also listening to the keypress event?
Even though they're listening for the keypress event, the value of the field is modified directly. For example the data formatter does
$target.val("#{val} / ")
Sorry, something went wrong.
No branches or pull requests
The tests are failing, but in practice it works.
The text was updated successfully, but these errors were encountered: