-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Build a simple component:
prototype(Foo.Bar:Block.Thing) < prototype(Neos.Fusion:Component) {
@styleguide {
title = 'Thing'
props {
option = true
}
useCases {
blablabla {
title = "Blablabla"
props {
option = false
}
}
}
}
renderer = afx`
{Json.stringify(props)}
`
}
Open it in monocle
- expect rendering to be
{"option":true} - expect inpector to correctly reflect
optionwith checkbox marked
Select usecase Blablabla
- expect rendering to be
{"option":false} - expect inpector to correctly reflect
optionwith checkbox not marked -> fails!
Bildschirmaufzeichnung.vom.10.10.2022.22.05.33.webm
I looked at the code and \Sitegeist\Monocle\Domain\PrototypeDetails\Props\PropsCollectionFactory only takes into account the current default for the initial page load - and there is simply no update inspector logic in place ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels