File tree 6 files changed +6
-11
lines changed
packages/pf4-component-mapper
6 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,6 @@ class App extends React.Component {
77
77
} }
78
78
componentMapper = { {
79
79
...componentMapper ,
80
- 'dual-list-select' : {
81
- component : componentMapper [ 'dual-list-select' ] ,
82
- renderStatus : ( { selected, options } ) => `selected ${ selected } from ${ options } ` ,
83
- } ,
84
80
summary : Summary ,
85
81
} }
86
82
FormTemplate = { ( props ) => < FormTemplate { ...props } showFormControls = { this . state . additionalOptions . showFormControls } /> }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const Slider = (props) => {
19
19
id = { id || input . name }
20
20
FormGroupProps = { FormGroupProps }
21
21
>
22
- < PF4Slider onChange = { input . onChange } onValueChange = { input . onChange } currentValue = { input . value } inputValue = { input . value } { ...rest } />
22
+ < PF4Slider onChange = { input . onChange } value = { input . value } inputValue = { input . value } isDisabled = { isDisabled || isReadOnly } { ...rest } />
23
23
</ FormGroup >
24
24
) ;
25
25
} ;
Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ const TextField = (props) => {
26
26
{ ...rest }
27
27
id = { id || input . name }
28
28
isRequired = { isRequired }
29
- isReadOnly = { isReadOnly }
30
29
isDisabled = { isDisabled }
31
- readOnly = { isReadOnly }
30
+ readOnlyVariant = { isReadOnly ? 'default' : undefined }
32
31
/>
33
32
</ FormGroup >
34
33
) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const Textarea = (props) => {
23
23
< Pf4TextArea
24
24
{ ...showError ( meta , validateOnMount ) }
25
25
isRequired = { isRequired }
26
- disabled = { isDisabled || isReadOnly }
26
+ isDisabled = { isDisabled || isReadOnly }
27
27
{ ...input }
28
28
id = { id || input . name }
29
29
{ ...rest }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const TimePicker = (props) => {
19
19
id = { id || input . name }
20
20
FormGroupProps = { FormGroupProps }
21
21
>
22
- < PF4TimePicker { ...input } defaultTime = { input . value } { ...rest } id = { id || input . name } isDisabled = { isDisabled || isReadOnly } />
22
+ < PF4TimePicker { ...input } time = { input . value ? input . value : undefined } { ...rest } id = { id || input . name } isDisabled = { isDisabled || isReadOnly } />
23
23
</ FormGroup >
24
24
) ;
25
25
} ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ const WizardInternal = ({
117
117
title = { title }
118
118
description = { description }
119
119
onClose = { formOptions . onCancel }
120
- hideClose = { hideClose }
120
+ isCloseHidden = { hideClose }
121
121
titleId = { titleId }
122
122
descriptionId = { descriptionId }
123
123
closeButtonAriaLabel = { closeButtonAriaLabel }
@@ -126,7 +126,7 @@ const WizardInternal = ({
126
126
< WizardToggle activeStepIndex = { activeStepIndex } currentStep = { currentStep } navSchema = { navSchema } isOpen = { state . openNav } dispatch = { dispatch } />
127
127
< div className = "pf-v5-c-wizard__outer-wrap" >
128
128
< div className = "pf-v5-c-wizard__inner-wrap" >
129
- < WizardNav aria-label = { navAriaLabel } isOpen = { state . openNav } >
129
+ < WizardNav aria-label = { navAriaLabel } isExpanded = { state . openNav } >
130
130
< FormSpy subscription = { { values : true , valid : true , validating : true } } >
131
131
{ ( { values, valid, validating } ) => (
132
132
< WizardNavigation
You can’t perform that action at this time.
0 commit comments