feat(WEB-209): revalidate my pages navigation on demand

This commit is contained in:
Simon Emanuelsson
2024-04-16 12:42:44 +02:00
committed by Michael Zetterberg
parent 16634abbbf
commit 1bffbc837e
40 changed files with 600 additions and 144 deletions

View File

@@ -85,7 +85,7 @@ export default function FormContent({ control }: EditFormContentProps) {
<HouseIcon />
</Field.Icon>
<Field.Label htmlFor="address.streetAddress">
*{_("Address")}
{_("Address")}
</Field.Label>
<Field.Content>
<Input
@@ -93,7 +93,6 @@ export default function FormContent({ control }: EditFormContentProps) {
control={control}
name="address.streetAddress"
placeholder={_("Street 123")}
registerOptions={{ required: true }}
/>
</Field.Content>
</Field>
@@ -102,14 +101,13 @@ export default function FormContent({ control }: EditFormContentProps) {
<Field.Icon>
<HouseIcon />
</Field.Icon>
<Field.Label htmlFor="address.city">*{_("City/State")}</Field.Label>
<Field.Label htmlFor="address.city">{_("City/State")}</Field.Label>
<Field.Content>
<Input
aria-label={_("City")}
control={control}
name="address.city"
placeholder={_("City")}
registerOptions={{ required: true }}
/>
</Field.Content>
</Field>