LHNCBC / lforms

See the project website at http://lhncbc.github.io/lforms/, or view the demo website at https://lhcforms.nlm.nih.gov/lhcforms.
Other
99 stars 55 forks source link

Integer & date datatype field issue #137

Open vigneshkv23 opened 8 months ago

vigneshkv23 commented 8 months ago

Hello,

Thanks in advance. Sample questionnaire attached below New-Form.R4 (1).json

Issue 1- On the date fields user can enter the date manually. User can enter more than 4 digits for YYYY. In the questionnaireresponse last 4 digits be considered. User can and should enter only 4 digits for YYYY.

image image

Issue 2-

When entering more than 18 digits for an integer datatype field. While questionnaireresponse is getting a few digits are missing or converting into exponent

image

Note- Min and Max length restriction is not added in the questionnaire

lhcye commented 8 months ago

Can confirm these are bugs. We will fix them in a future release soon. Thank you.

vigneshkv23 commented 8 months ago

Yes, both are bugs. Please take these in future releases. Thank you