Hello.
I tryed use text view with popup property.
https://snippet.webix.com/rezyh27d
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() {
$$("popup01").show(this.getInputNode())
}
}
In this case, popup not associated with text. Its property popup.config.master is undefined.
https://snippet.webix.com/jzz10bac
you can set it explicitly just before show
$$("popup01").config.master = this.config.id;
but this combination will be much better
const popup = $$("popup01");
if(!popup.isVisible() || popup.config.master!=this.config.id){
popup.config.master = this.config.id;
popup.show(this.getInputNode());
}
Thanks, @intregal . This is a great solution.