- fixed issue with undefined initial value for text input;

- completed company profile;
- updated logic of creating the application;
This commit is contained in:
Vitalii Kiiko
2024-10-01 14:12:08 +02:00
parent 676d7621e7
commit 340b805643
4 changed files with 49 additions and 14 deletions

View File

@@ -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}