this is my first entry in here, hope that I won't fail some rules.
I have an input field in HTML file that takes Port numbers from 0 to 65535 which is defined as min, max.
And I have a jQuery Input mask in JS file that is supposed to allow only inputs.
ACTUALLY, it works as it is supposed to in my local, but when I upload the code to the environment, there you can enter tons of minus(-) sign.
Well, I have compared the versions of jQuery and mask of my local and the server and I made them the same but it didn't help me to fix the problem.
JS:
$('#input_port').mask('00000', {
placeholder: "Enter between 0-65535"
});
My expectation is that the code should allow entering ONLY numbers from 0 to 65535 but it allows you to enter more number after minus sign such as 65535------12345 but it should not.