cuba-platform / cuba

CUBA Platform is a high level framework for enterprise applications development
https://www.cuba-platform.com
Apache License 2.0
1.34k stars 219 forks source link

Validation script of dynamic attr doesn`t work in case value of attr isn`t filled #3165

Closed maistrenkoIulia closed 3 years ago

maistrenkoIulia commented 3 years ago

Environment

http://cubadev:9072/app/#main/10

Description of the bug or enhancement

bulgakovea commented 3 years ago

Actually, this behaviour is expected - validation works only for filled fields. If it is required to validate an attribute, it is necessary to set the "required" flag