EasyUI Forum

General Category => EasyUI for React => Topic started by: chrwei on October 22, 2019, 01:17:07 PM



Title: forms, grids, more forms, and design patterns
Post by: chrwei on October 22, 2019, 01:17:07 PM
I've coded myself into a corner and I don't like my options to get out of it.  how would you do this?

I have a form, and in the middle of that there's a grid.  I want to be able to edit the edit using a popup dialog, and I want the grid to be a reusable  component.

so i've made a component that i pass the grid data, has the popup and all, great.  but the popup won't work because in the DOM a form can't be inside another form.

so how do i get this popup form outside of the main form while keeping the grid+dialog+form a nice reusable component?