-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: add field checkbox and fieldswitch #509
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sonar is failing because of duplicated code in tests. We do not care about that 😄 |
<Controller | ||
{...props} | ||
render={({ field: { value, ...field } }) => ( | ||
<Flex direction="column" gap={1.5}> | ||
<Checkbox | ||
isChecked={!!value} | ||
isDisabled={props.isDisabled} | ||
{...props.checkboxProps} | ||
{...field} | ||
/> | ||
<FormFieldError /> | ||
</Flex> | ||
)} |
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.
We don't want to use FormFieldItem & FormFieldLabel like the other fields ? Same comment goes to FieldSwitch
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.
Another PR has changed the FormField API #505
6758025
to
d3258c1
Compare
update their theme
d3258c1
to
0b07555
Compare
a629432
to
2eccbc8
Compare
Quality Gate failedFailed conditions |
Describe your changes
Checklist
pnpm storybook
command and everything is working(If you cannot update the french language, just let us know in the PR description)