File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
packages/pf4-component-mapper/src Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,15 @@ const TextField = (props) => {
33
33
id = { id || input . name }
34
34
FormGroupProps = { FormGroupProps }
35
35
>
36
- < TextInput { ...input } { ...showError ( meta , validateOnMount ) } { ...rest } id = { id || input . name } isReadOnly = { isReadOnly } isDisabled = { isDisabled } />
36
+ < TextInput
37
+ { ...input }
38
+ { ...showError ( meta , validateOnMount ) }
39
+ { ...rest }
40
+ id = { id || input . name }
41
+ isRequired = { isRequired }
42
+ isReadOnly = { isReadOnly }
43
+ isDisabled = { isDisabled }
44
+ />
37
45
</ FormGroup >
38
46
) ;
39
47
} ;
Original file line number Diff line number Diff line change @@ -33,7 +33,14 @@ const Textarea = (props) => {
33
33
id = { id || input . name }
34
34
FormGroupProps = { FormGroupProps }
35
35
>
36
- < Pf4TextArea { ...showError ( meta , validateOnMount ) } disabled = { isDisabled || isReadOnly } { ...input } id = { id || input . name } { ...rest } />
36
+ < Pf4TextArea
37
+ { ...showError ( meta , validateOnMount ) }
38
+ isRequired = { isRequired }
39
+ disabled = { isDisabled || isReadOnly }
40
+ { ...input }
41
+ id = { id || input . name }
42
+ { ...rest }
43
+ />
37
44
</ FormGroup >
38
45
) ;
39
46
} ;
You can’t perform that action at this time.
0 commit comments