You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use a dynamic SelectOptionCollection as value-label pairs for select options in Neos 9, this will be broken.
// ...
properties {
options = Neos.Form.Builder:SelectOptionCollection {
items = ${q(site).children('[instanceof Some.Package:NewsletterCategory]')}
# we use the node identifier as value, we could use "name" or "label" instead for example
valuePropertyPath = 'identifier'
}
}
Root cause is the SelectOptionCollectionImplementation which tries to fetch value and label with ObjectAccess::getPropertyPath directly from the object, which is a node in this case.
In Neos <9 the Node object had all properties as members, but this has changed in Neos 9
The text was updated successfully, but these errors were encountered:
If you want to use a dynamic SelectOptionCollection as value-label pairs for select options in Neos 9, this will be broken.
Root cause is the SelectOptionCollectionImplementation which tries to fetch value and label with
ObjectAccess::getPropertyPath
directly from the object, which is a node in this case.In Neos <9 the
Node
object had all properties as members, but this has changed in Neos 9The text was updated successfully, but these errors were encountered: