Validator does not work if detailed in Cuba Studio

Hi.
When implementing a validator to an integer value that is not taken by Cuba studio far it is reflected in the xml.
I’m doing something wrong?

validators1

validators2

validators3

Hi,
I have tested setting validators to fields and did not find any problems.
What may be supposed: you have not saved your changes in Studio before looking them in the IDE. Changes, made in Studio become available in the IDE only after OK/Apply buttons are pressed.

If the problem persists, please provide us more details, or better share the project which can illustrate the problem. The project may be easily compressed by calling the ‘zipProject - gradle task’ (see the documentation: https://doc.cuba-platform.com/manual-6.2/build.gradle_zipProject.html).