Is it possible to hide disabled page options in panel, without using css?
.k-button[data-disabled="true"] {
display: none;
}
Is it possible to hide disabled page options in panel, without using css?
.k-button[data-disabled="true"] {
display: none;
}
You can overwrite the dropdown area. Bastian explained this in the 3.6 release show at 01:17 (and I bookmarked it for this reason): Kirby 3.6 Release Show - YouTube
There’s also this page in the docs I just found: Panel dropdowns | Kirby CMS
But I’m not sure how sustainable this is. Why do you want to avoid CSS?
Bastian explained this in the 3.6 release show
I thought I heard that somewhere before! I am going to have a look!
Why do you want to avoid CSS?
Because when hiding via css, there are some HR-Elements, which won’t disappear and make some ugly spaces. Maybe we can hide them with next-sibling selector too.
Lets have a look to bastians video first
Thx @thguenther