enabledControls => new => false has been broken in Core
I created a new grid element and only allowed one CType (in this example called "header_slide") as a child. When I create a new parent grid using the Content Element Wizard and then create a new child all CTypes are available. Not until after saving, only the allowed CTypes are listed. However, the default CType is still "text", leading to an invalid value message.
TSConfig:
tx_gridelements.setup {
header_slider {
title = Header Slider
horizontal = 1
config {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = Content
colPos = 0
allowed {
CType = header_slide
}
}
}
}
}
}
}
}
CTypes before saving:
CTypes after saving with wrong default selection:
Edited by Jo Hasenau