Open thevikas opened 6 years ago
Found a fix (2013) has already been merged to master (2016): https://github.com/powmedia/backbone-forms/pull/224/commits/91bbe41f439bc590d53591de6bcb7bf868d1685b
So i guess we are waiting for it to be released. Can we get it quicker?
https://github.com/powmedia/backbone-forms/blob/7aad9e3be590b0bda964f6156b7a438e89d00e45/src/editors/number.js#L52
A Number can also be a negative which starts with a dash. The regex fails to accept this sort of numbers. The same field shows a slider on the right. One can that slider to get to negative numbers and that is fine and passes validation since no keypress was done.
Any suggestion on how to get around it?