iceman101184 / ajaxcrud

AjaxCRUD - Manage mySQL Database with PHP and a few lines of code!
http://www.ajaxcrud.com
72 stars 42 forks source link

Firefox 29+ form input field `type=number` as spinner zeroes add #14

Open apmuthu opened 5 years ago

apmuthu commented 5 years ago

When using Firefox browser versions >= 29, any integer (not a decimal float) input field of type=number causes the user input value to become zero. This action can be suppressed by reverting it to a text field input as before and as available in other browsers by setting the style in the <head> part of the html as below:

<style> input[type=number] { -moz-appearance:textfield; } </style>

Current spinner: spinner

Reverted to textbox: textbox