What happened?
Description
We have a multilevel structure on our website, cities, product categories and products. Also we have some fields where only cities, or categories should be chosen. When modal with list of entries is open, even though only one or two levels of structure are shown, chevrons are visible to user.
Steps to reproduce
- Add multilevel structure.
- Add entry field to separate entry, where entries from structure could be chosen.
- Click 'add' to open modal to view the structure.
Expected behavior
When not all levels of multilevel structure are chosen in field setup, hide chevrons on entries that lead to hidden structure levels.
Actual behavior
Chevrons are shown even only one level of multilevel structure is set to choose.
Craft CMS version
Craft Pro 5.6.1
PHP version
8.2.26
Operating system and version
Linux 6.10.14-linuxkit
Database type and version
MySQL 8.0.36
Image driver and version
magick 3.7.0 (ImageMagick 7.1.1-32)
Installed plugins and versions
No response
What happened?
Description
We have a multilevel structure on our website, cities, product categories and products. Also we have some fields where only cities, or categories should be chosen. When modal with list of entries is open, even though only one or two levels of structure are shown, chevrons are visible to user.
Steps to reproduce
Expected behavior
When not all levels of multilevel structure are chosen in field setup, hide chevrons on entries that lead to hidden structure levels.
Actual behavior
Chevrons are shown even only one level of multilevel structure is set to choose.
Craft CMS version
Craft Pro 5.6.1
PHP version
8.2.26
Operating system and version
Linux 6.10.14-linuxkit
Database type and version
MySQL 8.0.36
Image driver and version
magick 3.7.0 (ImageMagick 7.1.1-32)
Installed plugins and versions
No response