Calcite number input: allow configuration to prevent entry of specific characters #10406
Open
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
estimate - 8
Requires input from team, consider smaller steps.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Check existing issues
Description
Calcite number input currently supports characters like
-
ore
. In a min/max file attachment use case, where-
is not an acceptable entry, user currently can type in-
and is persisted when:• there are no numbers in the input (
-
)• following numbers in the input (
5-
)if the user enters
5-1
, the-
is omitted, and the entry becomes51
if the user enters
-5
, the entry is not accepted and it triggers a validation errorAcceptance Criteria
Allow configuration to prevent specific character(s) to be entered in the number input. Also welcome to workaround ideas.
Relevant Info
Field Maps Designer issue https://github.com/ArcGIS/field-apps-web/issues/4229
Which Component
calcite input number
Example Use Case
No response
Priority impact
impact - p1 - need for current milestone
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: