move form builder email input away from routing form widget (#21077)

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
sean-brydonandUdit Takkar authored and GitHub committed 2025-05-05 09:05:01 +00:00
1 parent 47613f796e
commit ec9384858b
1 file changed
+10 -1
+10 -1
View File
@@ -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} />;
return (
<InputField
type="email"
id={props.name}
noLabel={true}
{...props}
onChange={(e) => props.setValue(e.target.value)}
/>
);
},
},
address: {