-
Notifications
You must be signed in to change notification settings - Fork 9.3k
fix: correct booker email input #21077
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
base: main
Are you sure you want to change the base?
Conversation
@@ -205,7 +205,16 @@ export const Components: Record<FieldType, Component> = { | |||
if (!props) { | |||
return <div />; | |||
} | |||
return <Widgets.TextWidget type="email" id={props.name} noLabel={true} {...props} />; |
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 use input field in the rest of this components file - not sure why we used widget here.
It affects both Routing Form field and Booker field right? |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (05/02/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (05/02/25)1 label was added to this PR based on Keith Williams's automation. |
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.
mrge reviewed 1 file and found no issues. Review this PR in mrge.io.
Yes but the one thats rendered in the form not the form builder that uses a different set of components cal.com/packages/app-store/routing-forms/components/react-awesome-query-builder/widgets.tsx The RAQB form builder uses these components where as the components rendered in booker/forms use the components in cal.com/packages/features/form-builder/Components.tsx |
E2E results are ready! |
What does this PR do?
Uses the correct component in booker instead of the routing forms widgets
Summary by mrge
Fixed the booker email input to use the correct input component instead of the routing form widget. This ensures proper handling of email values in the form.