move form builder email input away from routing form widget (#21077)
Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
47613f796e
commit
ec9384858b
1 file changed
+10
-1
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user