Editor type item blank in popup form

I ran into an issue trying to put a form into a popup object. The form loaded fine, but the item of type “editor” was blank and non-functional. If I changed it to an input, it was fine. The same form structure loaded without issue in a window object. I checked another browser to make sure it wasn’t a browser-dependent issue.

I have attached a demo that shows the behavior.
Demo.zip (608 KB)

Hi

please check attached demo

  1. toolbar.attachEvent(“onClick”) not needed, you already specified this via popup init, popup will attach the same event to toolbar
  2. you need to init form on demand from popup’s onShow event (while objects have display:none they don’t have proper offsetWidth/offsetHeight so it’s impossible to adjust content w/o extra calculations)
  3. seems like you’re using dhtmlx version 3.0, I attached latest dhtmlxpopup.js and dhtmlxform_item_editor.js, but recommend you update suite to 3.6 version (or even 4.0 which is coming soon), 3.0 no longer supported.
    98.ZIP (617 KB)