Skip to content

<input type="number"> needs to set the min|max values on the front-end when necessary #1417

@fenbox

Description

@fenbox

Is your enhancement request related to a problem? Please describe

  • Admin -> Write: When using numeric controls, negative numbers can be entered.
  • Admin -> Privileges: The current type is text, and the numeric keyboard cannot be directly called under the touch control system.

Describe the solution you'd like

  • Set the min|max values on the front-end when necessary.
  • Use number type forms where numbers are involved.
<input type="number" min="xxx" max="xxx">

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions