Backend list tree view unable to expand from second level on
goldmont opened this issue · 4 comments
Winter CMS Build
1.2
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Hi,
I'm not able to expand tree view records from second level on. I can successfully expand the root level but I'm not able to see the children of the first child.
When I try to expand the record with ID 2
, the page is simply refreshed and the whole tree collapsed:
Could you help me?
My configuration:
showTree: true
treeExpanded: false
Steps to replicate
Setup a model with SimpleTree
trait and then enable showTree
in your config_list.yaml
Workaround
No response
@goldmont I'm sorry I can't confirm/reproduce this. Have you checked that the models table has all required fields?
@goldmont I'm sorry I can't confirm/reproduce this. Have you checked that the models table has all required fields?
Hi,
it's working now without any change to the codebase.
However, I noticed that the browser remembers whether a node was expanded or not by opening the URL into another tab. So I thought it was a cache issue.