1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-18 11:14:57 +02:00
unleash.unleash/frontend/src/component/layout
Thomas Heartman a7118e0c18
chore(1-3639): constraint validation (#9909)
Implements client-side validation of constraint values before you can
add them to a constraint.

I've removed the extra server-side validation that used to happen for
each specific constraint, because the surrounding form itself uses
server side validation to check every constraint every time there's a
change. This is what controls disabling the submit button etc.

I wanna make the next PR a bit of a followup cleanup now that it's
clearer what properties we do and don't need.
<img width="371" alt="image"
src="https://github.com/user-attachments/assets/7c98708f-fcbe-40ca-8590-bb0f5b2ad167"
/>
<img width="361" alt="image"
src="https://github.com/user-attachments/assets/503d4841-d910-4e8e-b0ef-a3d725739534"
/>
2025-05-06 15:21:33 +02:00
..
components/EnterprisePlanBadge chore: admin menu enterprise badge (#9656) 2025-04-01 09:13:40 +02:00
Error refactor: ts checking conditionallyrender props (#7840) 2024-08-30 13:39:11 +02:00
LayoutPicker chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
MainLayout chore(1-3639): constraint validation (#9909) 2025-05-06 15:21:33 +02:00