feat (components): Changes to components for v2.2
This commit is contained in:
parent
90017ea08d
commit
2ac8280446
16 changed files with 107 additions and 117 deletions
|
@ -18,8 +18,8 @@ const PatternOptionList = props => {
|
|||
}
|
||||
|
||||
const patternReset = () => {
|
||||
setValue(props.patternDflt)
|
||||
props.updateValue(props.name, props.patternDflt)
|
||||
setValue(props.designDflt)
|
||||
props.updateValue(props.name, props.designDflt)
|
||||
}
|
||||
|
||||
const toggleExpanded = () => setExpanded(!expanded)
|
||||
|
@ -37,7 +37,7 @@ const PatternOptionList = props => {
|
|||
name={props.name}
|
||||
value={value}
|
||||
dflt={props.dflt}
|
||||
patternDflt={props.patternDflt}
|
||||
designDflt={props.designDflt}
|
||||
onChange={update}
|
||||
label={'po-list-' + props.name}
|
||||
updateValue={update}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue