fix(input): create max and/or min validation whatever the initial value is

- fix issue #10307
- change tests to corresponding changes
- also change tests for ngmax and ngmin (though they have no some issue)

Closes #10307
can you add an expect here (to all the changed tests)? We should make sure that the validator does the right thing when it is undefined and the input value is changed for the first time