-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add forms plugin to issue report component #2302
Conversation
- remove and inline CheckboxGroup component - add PrimeVue forms integration
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
src/types/primevue.d.ts
Outdated
@@ -0,0 +1,10 @@ | |||
declare module '@primevue/forms/resolvers/zod' { |
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.
Can you link the issue primefaces/primevue#6722 here to explain why this file need to be added?
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.
The issue is also resolved by updating primevue from v4.0.5 to match the version of primevue/forms which starts at v4.2.0
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.
This PR adds the primevue-forms plugin and integrates it with the ReportIssuePanel component, adding validation against a form schema and providing responsive messages for validation failures according to the given errored field.
forms-ux.mp4
┆Issue is synchronized with this Notion page by Unito