Posted 14 December 2021, 3:43 am EST
Hi,
I have a problem with events in component. When i added component in popup i can’t invoke any event. Inputs - onChange, button - onClick, onMouseOver all events not working.
<wjInput.Popup
            style={{
               minWidth: "50%",
               minHeight: "40%",
               width: "50%",
               height: "80%",
               maxWidth: "80%",
               maxHeight: "90%",
            }}
            modal={false}
            isDraggable={true}
            isResizable={true}
            initialized={(e) => {
               popupObj = e;
            }}
         >
            <div className="wj-dialog-header">
               <h4>{"Wybierz generator"}</h4>
               <button type="button" tabIndex={-1} className="close wj-hide">
                  ×
               </button>
            </div>
            <div className="wj-dialog-body">
               <ListaGeneratorowComponent onSelectedObject={onSelectedObj} />
            </div>
            <div className={"wj-dialog-footer"}>
               <button className="cancel-button wj-hide">{"Anuluj"}</button>
               <button className="approve-button wj-hide-ok"> {"Wybierz"} </button>
            </div>
         </wjInput.Popup>
Please help.
Best regards.