-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imporvement: checkbox in the class editor to hide unpublished object #21
Comments
There is tricky case... what if the element is unpublished later and as been selected in some dropdown before. Better would be they are showed, but cannot be assigned/selected. And if they are already assigned as choice thay stay assigned (and can be unasigned/unselected). But I am not sure the ExtJs component could handle this. |
This will most probably be possible. Handle unpublished objects: Show / Unselectable / Hidden |
@ThomasKeil I thinked a little more about this.
So it is more easy to keep it simple as it was, and it would permit to prepare association (even if not published). |
I think in any case I'll keep the visual feedback if an object is unpublished, so the user can decide what to do. |
Yes it is a nice addition as visuel indicator. Thanks. |
I just committed a new release, the unpublished items are now grey, and can be configured to be unselectable. |
Thanks @ThomasKeil. I just tested it on last stable Pimcore. I noticed the following problems:
I try re-save the class and flushing all the caches and problems are always here. |
Actually all object in the folder, published or not, are show as options.
In some case, some object are not published (being in edition process and not finished to be correctly filled for instance) and they should not be available as choice.
Maybe a checkbox labeled "Hide unpublished" could be added to the 4 dropdown elements type. So this way user creating the class could decide on per case if object should be available or not depending published status.
The text was updated successfully, but these errors were encountered: