bugfix: binding broken in propertycascader
This commit is contained in:
parent
b4eb26b2f1
commit
5b1bbad6c6
|
@ -17,6 +17,15 @@ export const setBinding = ({ path, fallback, source }, binding = {}) => {
|
|||
return binding
|
||||
}
|
||||
|
||||
export const getBinding = parseBinding
|
||||
export const getBinding = val => {
|
||||
const binding = parseBinding(val)
|
||||
return binding
|
||||
? binding
|
||||
: {
|
||||
path: "",
|
||||
source: "store",
|
||||
fallback: "",
|
||||
}
|
||||
}
|
||||
|
||||
const isNonEmptyString = s => isString(s) && s.length > 0
|
||||
|
|
Loading…
Reference in New Issue