-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use new Input component #1912
Use new Input component #1912
Conversation
6ebc693
to
5834933
Compare
5834933
to
86c6ac5
Compare
Du har glemt et TextArea i |
)} | ||
/> | ||
<Controller | ||
control={control} | ||
name={"parentCategoryId"} | ||
rules={{ required: false }} | ||
render={({ field, fieldState }) => ( | ||
<FormControl id="parentCategoryId" isInvalid={!!fieldState.error?.message}> | ||
<StyledLabel textStyle="label-small">{t("myNdla.arena.admin.category.form.parentCategoryId")}</StyledLabel> | ||
<FieldRoot invalid={!!fieldState.error?.message}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Her brekker du koblingen mellom label og select. Du kan wrappe Select med en <Field.Select asChild>
. Vi eksporterer den ikke, men ark har den!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Var ikke meningen å ta med de endringene egentlig 😅 revertert nå!
b7a6a91
to
04d5d58
Compare
src/containers/MyNdla/Arena/components/FlagPostModalContent.tsx
Outdated
Show resolved
Hide resolved
04d5d58
to
6e7fa88
Compare
No description provided.