You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The input validation of the questionnaire-modal does not work with type string anymore. This also prohibits the proper storage of a given answer. Furthermore the input correction also only works on types decimal and integer if the first entered character is indeed a number (nonetheless, the correct value is persisted).
To Reproduce
Steps to reproduce the behavior:
Load the Generic Reference Questionnaire into the app.
Open the "Fragegruppe 1" category.
Enter someting into the input "Das ist eine Freitextabfrage".
The button on the bottom does not turn green.
Close the modal and open it again.
The given answer will not reappear.
Without closing the modal navigate to the question "Das ist eine Dezimalzahlenabfrage" and enter anything besides a number.
If the entered value starts with anything but a number the input correction is not executed.
Expected behavior
The validation for type string should recognize an entered string.
An input for elements of type integer and/or decimal should prohibit invalid input.
Screenshots
Smartphone (please complete the following information):
Describe the bug
The input validation of the questionnaire-modal does not work with type
string
anymore. This also prohibits the proper storage of a given answer. Furthermore the input correction also only works on typesdecimal
andinteger
if the first entered character is indeed a number (nonetheless, the correct value is persisted).To Reproduce
Steps to reproduce the behavior:
Expected behavior
string
should recognize an entered string.integer
and/ordecimal
should prohibit invalid input.Screenshots
Smartphone (please complete the following information):
Additional context
questionnaireModal.jsx
The text was updated successfully, but these errors were encountered: