-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Labels
backlogQueued in backlogQueued in backlogbugSomething isn't workingSomething isn't workingelement templatesspring cleaningCould be cleaned up one dayCould be cleaned up one day
Description
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
Metadata
Metadata
Assignees
Labels
backlogQueued in backlogQueued in backlogbugSomething isn't workingSomething isn't workingelement templatesspring cleaningCould be cleaned up one dayCould be cleaned up one day