),
diff --git a/proprietary/tokens/src/components/ams/field.tokens.json b/proprietary/tokens/src/components/ams/field.tokens.json
index 82178f5485..e76480abcc 100644
--- a/proprietary/tokens/src/components/ams/field.tokens.json
+++ b/proprietary/tokens/src/components/ams/field.tokens.json
@@ -4,7 +4,7 @@
"gap": {
"value": "{ams.space.stack.sm}"
},
- "has-error": {
+ "invalid": {
"border-inline-start": {
"value": "3px solid {ams.color.primary-red}"
},
diff --git a/storybook/src/components/Field/Field.stories.tsx b/storybook/src/components/Field/Field.stories.tsx
index 50c37782cf..1eb2bb8480 100644
--- a/storybook/src/components/Field/Field.stories.tsx
+++ b/storybook/src/components/Field/Field.stories.tsx
@@ -11,15 +11,15 @@ const meta = {
title: 'Components/Forms/Field',
component: Field,
args: {
- hasError: false,
+ invalid: false,
},
render: (args) => (
-
+
Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u.
-
+
),
} satisfies Meta
@@ -31,14 +31,14 @@ type Story = StoryObj
export const Default: Story = {}
export const WithError: Story = {
- args: { hasError: true },
+ args: { invalid: true },
render: (args) => (
-
+
Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u.
-
+
),
}