Wrap readable bindings on []
This commit is contained in:
parent
0a8cf31dff
commit
0a17ba7767
|
@ -463,6 +463,10 @@ const generateComponentContextBindings = (asset, componentContext) => {
|
|||
}
|
||||
readableBinding += `.${fieldSchema.name || key}`
|
||||
|
||||
if (readableBinding.includes(" ")) {
|
||||
readableBinding = `[${readableBinding}]`
|
||||
}
|
||||
|
||||
// Determine which category this binding belongs in
|
||||
const bindingCategory = getComponentBindingCategory(
|
||||
component,
|
||||
|
|
Loading…
Reference in New Issue