parent
3ea46f5d54
commit
2bc86398c0
|
@ -35,15 +35,7 @@ export var FormDecorator = formType => RenderField =>
|
|||
helpVisible: false
|
||||
}
|
||||
render() {
|
||||
let {
|
||||
stepAction,
|
||||
valueType,
|
||||
defaultValue,
|
||||
fieldName,
|
||||
inversion,
|
||||
setFormValue,
|
||||
unit
|
||||
} = this.props
|
||||
let { stepAction, fieldName, inversion, setFormValue } = this.props
|
||||
let submit = cause => stepAction('fold', fieldName, cause),
|
||||
stepProps = {
|
||||
...this.props,
|
||||
|
|
|
@ -30,7 +30,7 @@ let resolved = rules
|
|||
.map(rule => ({
|
||||
[buildDottedName(rule)]: R.mergeAll(
|
||||
R.toPairs(rule)
|
||||
.filter(([_, v]) => !!v)
|
||||
.filter(([, v]) => !!v)
|
||||
.map(([k, v]) => {
|
||||
let attrToTranslate = attributesToExternalize.find(R.equals(k))
|
||||
if (!attrToTranslate) return {}
|
||||
|
|
Loading…
Reference in New Issue