- fixed issue with undefined initial value for text input;
- completed company profile; - updated logic of creating the application;
This commit is contained in:
@@ -16,7 +16,8 @@ const TextInput = ({
|
||||
placeholder = '',
|
||||
inputtype = 'text',
|
||||
disabled = false,
|
||||
onBlurFn = () => {}
|
||||
onBlurFn = () => {
|
||||
}
|
||||
}) => {
|
||||
const input = <Controller
|
||||
name={fieldName}
|
||||
@@ -27,6 +28,7 @@ const TextInput = ({
|
||||
<InputText id={field.name}
|
||||
disabled={disabled}
|
||||
{...field}
|
||||
value={field.value ? field.value : ''}
|
||||
onBlur={onBlurFn}
|
||||
type={inputtype}
|
||||
placeholder={placeholder}
|
||||
|
||||
Reference in New Issue
Block a user