LearnNewsExamplesServices
Frontmatter
id4205
titleform.field.Number: verify if manual inputs honor stepSizes < 1
stateClosed
labels
enhancement
assigneestobiu
createdAtMar 24, 2023, 10:35 AM
updatedAtMar 27, 2023, 3:51 PM
githubUrlhttps://github.com/neomjs/neo/issues/4205
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 27, 2023, 3:51 PM

form.field.Number: verify if manual inputs honor stepSizes < 1

Closed v8.1.0 enhancement
tobiu
tobiu commented on Mar 24, 2023, 10:35 AM

(No description provided)

tobiu added the enhancement label on Mar 24, 2023, 10:35 AM
tobiu assigned to @tobiu on Mar 24, 2023, 10:35 AM
tobiu referenced in commit 598585c - "form.field.Number: verify if manual inputs honor stepSizes < 1 #4205" on Mar 27, 2023, 3:49 PM
tobiu
tobiu Mar 27, 2023, 3:51 PM

i changed the number evaluation from onInputValueChange() to onFocusLeave().

e.g. in case you want to type 0.01, typing 0.0 would adjust the field value to 0 in real time, so it would be impossible to enter it manually (without using spin buttons or arrow keys).

so, it needs to be possible to enter "invalid" values and the field evaluation needs to happen when the field loses focus.

tobiu closed this issue on Mar 27, 2023, 3:51 PM