From validation error

I have a form with input of type number. I have defined min and max restriction. Till version 8.3.8 the from could get validated when the input field is empty. But since the most recent update if the input field is left empty the form can’t get validated.


The same happens with non numeric input fields as well. If the field is empty the form doesn’t get validated!

The described scenario seems to work correctly in the latest dhx.Suite (v8.3.9):

If the problem still occurs for you please, provide a complete demo or a code snippet where the problem can be reconstructed.

It doesn’t work.

Here is a sample:

We have an number input field with min and max restriction which is non required field. But when u call the function to validate the form it doesn’t get validated when the input field is left blank. It used to work previously.

The same happens for text input fields with max length restriction.


Thank you for your provided snippet and clarification.
The problem was confirmed. We’ll try to fix it in one of the future updates.
I’ll inform you about any progress on this issue.