File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
packages/pf4-component-mapper/src Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ const DatePicker = (props) => {
19
19
id = { id || input . name }
20
20
FormGroupProps = { FormGroupProps }
21
21
>
22
- < PF4DatePicker { ...input } { ...rest } id = { id || input . name } isDisabled = { isDisabled || isReadOnly } />
22
+ < PF4DatePicker
23
+ { ...input }
24
+ onChange = { ( _e , value ) => input . onChange ( value ) }
25
+ { ...rest }
26
+ id = { id || input . name }
27
+ isDisabled = { isDisabled || isReadOnly }
28
+ />
23
29
</ FormGroup >
24
30
) ;
25
31
} ;
Original file line number Diff line number Diff line change @@ -19,7 +19,14 @@ const TimePicker = (props) => {
19
19
id = { id || input . name }
20
20
FormGroupProps = { FormGroupProps }
21
21
>
22
- < PF4TimePicker { ...input } time = { input . value ? input . value : undefined } { ...rest } id = { id || input . name } isDisabled = { isDisabled || isReadOnly } />
22
+ < PF4TimePicker
23
+ { ...input }
24
+ onChange = { ( _e , value ) => input . onChange ( value ) }
25
+ time = { input . value ? input . value : undefined }
26
+ { ...rest }
27
+ id = { id || input . name }
28
+ isDisabled = { isDisabled || isReadOnly }
29
+ />
23
30
</ FormGroup >
24
31
) ;
25
32
} ;
You can’t perform that action at this time.
0 commit comments