How to show popup if text is readonly

I tryed use text view with popup property.
But when set property readonly=true, popup window is not shown.
How to show popup if text is readonly?
Help, pleas.


  • if you do not have to use popup property you can use click handler instead

        view: "text", click: function() {
  • In this case, popup not associated with text. Its property popup.config.master is undefined.

  • edited March 4

    you can set it explicitly just before show

    $$("popup01").config.master =;

    but this combination will be much better

          const popup = $$("popup01");
          if(!popup.isVisible() || popup.config.master!{
            popup.config.master =;
  • Thanks, @intregal . This is a great solution.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion