surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4k stars 780 forks source link

Single-Line Input: It's impossible to enter any answer when `"inputType"` is `"number"` and `"maskType"` is `"numeric"` #8425

Closed JaneSjs closed 1 week ago

JaneSjs commented 1 week ago

T18633 - Can't enter any answer in Single-Line Input (Number) due to residual Input Mask Settings https://surveyjs.answerdesk.io/internal/ticket/details/T18633


The following survey JSON is produced when setting input type="number" for a Single-Line Text which has mask settings.

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "text",
     "name": "question1",
     "inputType": "number",
     "maskType": "numeric"
    }
   ]
  }
 ]
}

As a result, it is impossible to correctly enter a value.