Actions
Bug #24583
closedWe should not be able to save a technique with empty enum parameters
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Medium
Priority:
58
Name check:
To do
Fix check:
To do
Regression:
No
Description
When creating a new Technique and in the Parameters
tab,
- I could save an
Enum
parameter with filling anything (forDisplay name
andValue
) :
=> But when creating a directive from it displays an error, for example when two parameters have "empty enums" we have both errors :
- Also, when we only fill
Display name
, we get the display name but the same error at save (because the value are still "empty")
- Lastly, when both values are filled, in the directive parameters it is impossible to have a default value (but in the illegal case when
Value
is empty, it is selected by default)
- we should display an error and should not be able to save a technique when at least one Enum has an empty
Value
- we should add a hint that
Display name
is optional and will inheritValue
if empty - we should have the possibility to input a default value for an enum (by selecting one of the values) and for a text
Files
Actions