You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In authentication section choose type Bearer Token and enter some value (Doesn't matter what it'll be as it's only for not empty constraint)
Select operation Create Worksheet
In operation details block enter some spreadsheet ID and worksheet name (Doesn't matter what it'll be as it's only for not empty constraint)
Set in worksheet index some value and deploy.
Set in worksheet index empty value and deploy.
The 2st case
The second case with constraints on the field: notEmpty: false, pattern for numbers and. As You can see I cannot set empty index despite pattern is ^([0-9]*$)
Hi @mrebrii , thank you for opening this issue. The way element templates currently work. invalid entries are not committed to the diagram. So when you safe or switch elements, the last valid value is kept.
I agree that this is unexpected behavior and invalid values might be wanted (e.g. empty values). I will move this item to the backlog.
This behavior is expected to change with the implementation of camunda/camunda-modeler#3357
Describe the Bug
The modelerer doesn't set an empty value to the field after being set.
Steps to Reproduce
The 1st case
The first case with all constraints on the field: notEmpty: false, pattern for numbers and maxLength. As You can see the value isn't set as empty
Steps to reproduce
Bearer Token
and enter some value (Doesn't matter what it'll be as it's only for not empty constraint)Create Worksheet
The 2st case
The second case with constraints on the field: notEmpty: false, pattern for numbers and. As You can see I cannot set empty index despite pattern is
^([0-9]*$)
Steps to reproduce
Bearer Token
and enter some value (Doesn't matter what it'll be as it's only for not empty constraint)Create Worksheet
The 3st case
The third case with only one constraint: notEmpty: false. As You can see in this case I'm able to set empty value.
Steps to reproduce
Bearer Token
and enter some value (Doesn't matter what it'll be as it's only for not empty constraint)Create Worksheet
Expected Behavior
In all cases I'm able to set an empty value
Environment
The text was updated successfully, but these errors were encountered: