-
Notifications
You must be signed in to change notification settings - Fork 33
feat: migrate form to tanstack & zod #3810
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: migrate form to tanstack & zod #3810
Conversation
Deploying nmrium with
|
| Latest commit: |
3d7c489
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3113f4a1.nmrium.pages.dev |
| Branch Preview URL: | https://3809-start-using-tanstack-fo.nmrium.pages.dev |
|
Validation should not accept an empty string. |
Not strictly. But the previous layout had a fixed width which made much more sense. Regarding button color, I don't know on what ground you changed the button color. Ok if it is for consistency reasons, but otherwise keep the original green color. |
|
@Sebastien-Ahkrin It seems you forgot this PR. |
…tack-form-and-zod-validation-with-react-science-components
Is this looking better ? @stropitek |
|
If we want the label text to not be centered, we have to change the react-science components |
|
Why is it centered? |
NVM its because i use DialogContent, i can change the behavior. its now done |
|
DialogContent is centered by default? |
yep it looks like that |
|
I see that DialogContent is a component defined in this file and only used here. I don't understand why you override the value instead of changing the component directly. Now I think we should entirely remove this component and just render DialogBody. |
stropitek
left a comment
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.
…tack-form-and-zod-validation-with-react-science-components
|
@Sebastien-Ahkrin Can you fix the conflict and look into the E2E test failures? |
sure, i'm already working on it |
…tack-form-and-zod-validation-with-react-science-components
targos
left a comment
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.
I think the default style is good.
Do you know how it works to close when we click on cancel since there is no onClick handler?
it doesn't, now it should be good ! |









No description provided.