Skip to content

Commit

Permalink
Add default values for Email input
Browse files Browse the repository at this point in the history
  • Loading branch information
SachaG committed Sep 23, 2022
1 parent f77ef7b commit 791a41b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FormInputProps, useVulcanComponents } from '@vulcanjs/react-ui';
import React from 'react';
import { FormControl } from 'react-bootstrap';

export const FormComponentEmail = ({ path, label, refFunction, inputProperties, itemProperties }: FormInputProps) => {
export const FormComponentEmail = ({ path, label, refFunction, inputProperties = {}, itemProperties = {} }: FormInputProps) => {
const Components = useVulcanComponents()
return (
<Components.FormItem path={path} label={label} {...itemProperties}>
Expand Down

0 comments on commit 791a41b

Please sign in to comment.