Hi,
i have an issue for the property inspector. I want to build variable columns where i can define each width by selecting the foundation breakpoint and width (1 to 12) for individual layouts.
So i decided to define two NodeTypes which have some properties:
'Neos.Demo:MultiColumn':
superTypes:
'Neos.Neos:Content': TRUE
constraints:
nodeTypes:
'*': FALSE
'Neos.Demo:MultiColumnItem': TRUE
childNodes:
columns:
type: 'Neos.Neos:ContentCollection'
ui:
label: 'MultiColumn'
group: 'structure'
position: 190
icon: 'icon-columns'
inlineEditable: TRUE
inspector:
groups:
column:
label: 'MultiColumn'
position: 10
properties:
'text':
type: string
ui:
label: 'text'
reloadIfChanged: FALSE
inspector:
group: 'column'
'id':
type: string
ui:
label: 'id'
reloadIfChanged: FALSE
inspector:
group: 'column'
'Neos.Demo:MultiColumnItem':
superTypes:
'Neos.Neos:Content': TRUE
constraints:
nodeTypes:
'*': TRUE
childNodes:
items:
type: 'Neos.Neos:ContentCollection'
ui:
label: 'MultiColumn Item'
position: 190
icon: 'icon-columns'
group: 'structure'
inspector:
groups:
'single':
label: 'MultiColumn Item'
position: 10
properties:
'text':
type: string
ui:
label: 'text'
reloadIfChanged: FALSE
inspector:
group: 'single'
'layout':
type: string
defaultValue: ''
ui:
label: 'Size'
position: 100
reloadIfChanged: FALSE
inspector:
editor: 'Neos.Neos/Inspector/Editors/SelectBoxEditor'
editorOptions:
values:
'12':
label: '12 / 12'
'11':
label: '11 / 12'
'10':
label: '10 / 12'
'9':
label: '9 / 12'
'8':
label: '8 / 12'
'7':
label: '7 / 12'
'6':
label: '6 / 12'
'5':
label: '5 / 12'
'4':
label: '4 / 12'
'3':
label: '3 / 12'
'2':
label: '2 / 12'
'1':
label: '1 / 12'
group: 'single'
I removed the constraints so i can be moved easy outside the first contentcollection for testing.
The normal case is:
Insert one MultiColumn (row)
Insert various MultiColumnItems inside the (columns) content collection.
It is not possible to edit the inspector properties on MultiColoumItem
If i move it outside the row i can edit evwerything as expected.
Tested with Neos 2.3, 3.0 and react ui.