1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/frontend/src/component/common/ConstraintAccordion
andreas-unleash f9a686ca81
Fix/constraint with legal value that has been deleted (#4473)
When editing a constraint that uses a context field with legal values:

if the contraint has a value that has been deleted from the legal values
of the context field:
- Show the value and mark it as disabled
- On any change -> 'cleans'/removed the deleted legal values from the
constraint values

Closes:
[1-1209](https://linear.app/unleash/issue/1-1209/if-i-modified-the-legal-values-of-a-used-context-field)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-11 13:44:28 +03:00
..
ConstraintAccordionEdit Fix/constraint with legal value that has been deleted (#4473) 2023-08-11 13:44:28 +03:00
ConstraintAccordionHeaderActions
ConstraintAccordionList
ConstraintAccordionView fix: Disable Edit constraint when context field was deleted (#4460) 2023-08-10 15:27:30 +03:00
ConstraintOperator
ConstraintValueSearch
ConstraintAccordion.tsx
ConstraintIcon.tsx
ConstraintOperatorSelect.tsx