Skip to content

Unable to show the Open button in the Content Picker during the readonly mode #20816

@wtct

Description

@wtct

Which Umbraco version are you using?

13.9.2

Bug summary

We have noticed that it's not possible to show the Open button in the Content Picker once the readonly mode is enabled.

For some reason the condition looks as below:

allow-open="model.config.showOpenButton && allowOpen && !dialogEditor && !readonly"

https://github.com/umbraco/Umbraco-CMS/blob/v13/dev/src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.html#L16

It has changed in this commit:

5b002f0

I'm not sure why the Open button should not be visible in the readonly mode.

cc: @piotrbach

Specifics

No response

Steps to reproduce

Set the readonly mode for the content picker and try to show the Open button by the showOpenButton config option.

Expected result / actual result

It's possible to show the Open button in the readonly mode of the Content Picker.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions