mgr/dashboard: incorrect form validation when entering letter into a number input field
During a local test of https://github.com/ceph/ceph/pull/25989 I entered letters into a number input field.
The error message "This field is required" showed up - which does not really fit in that particular case.
Mentioned the issue within the PR and Volker commented on this:
"Interesting issue. The input field is of type 'number', so it does not show chars if you type them, but you can insert them via copy&paste.
On the way down to the form validator the string is converted to something else automatically by Angular, i assume so, because the validator gets a null as value to validate.
So Validator.required does not see the entered value and assumes it is missing => because of that the required error is set. I assume we can not do anything here."