Issue with schema reactivity in a custom page
Hello,
I'm facing some difficulty in a custom page that loads dynamic schema form a builder.
I've managed to reproduce in this simplified example.
Using next and previous works fine, until I introduce a
$this->content->getState
to retrieve the data in the next
method, at that point everything updates except the content schema, until I type something in a field then it will suddenly load the correct schema components.
Am I missing something?1 Reply
I've used
unset($this->cachedSchemas['content'])
to ensure it properly changes.