Describe the Bug
I created an element-template and realized that the notEmpty constraint is not working for Text type. The field is not indicated with the red outline and there is no error message when it is empty.

Steps to Reproduce
Best way to reproduce is to just use the template below, and look at the "Query/Mutation" text field.
graphql-connector-template.zip
Otherwise you can reproduce it by
- creating a new element template
- set the type to text
- add the
"constraints": {
"notEmpty": true
}
part, or even add the "optional": false
Expected Behavior
When the text field is empty there should be a red outline and an error message saying: Must not be empty.
Environment
- WebModeler in Chrome, and even in the Desktop Modeler
- OS: Windows 11
- Library version: latest
Describe the Bug
I created an element-template and realized that the notEmpty constraint is not working for Text type. The field is not indicated with the red outline and there is no error message when it is empty.
Steps to Reproduce
Best way to reproduce is to just use the template below, and look at the "Query/Mutation" text field.
graphql-connector-template.zip
Otherwise you can reproduce it by
part, or even add the
"optional": falseExpected Behavior
When the text field is empty there should be a red outline and an error message saying: Must not be empty.
Environment