Dinesht04 opened a new pull request, #1424:
URL: https://github.com/apache/answer/pull/1424
fix: #1417
Added Property MinValue in Input Component (Default = 0) and Property
InputMode (Default = 'text'). Used in making the form for Admin -> Priviliges.
Added InputMode types in InputOptions
Added min = {0} property and inputMode = 'numeric' property to all the
numeric type inputs in Admin -> Write.
InputMode hints at the type of data that might be entered by the user while
editing the element or its contents. This allows for a numeric keyboard in
Touch Mode.
Source for input mode types -
https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode
Didn't add any Default Max values since I think it is subjective and based
on user's choice and I couldn't decide an upper limit.
Open to Suggestions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]