Hi everyone,
i need to use setRelation in AddForm only. I don't want it to work in the Main state.
If i use getState() and use setRelation in the "AddForm" or "Insert" state, it doesn't work. It seem that "AddForm" or "Insert"state are both too late because i need the setRelation to work before the form get visualized.
Maybe there is a state triggered before the form show up on the screen ?
The reason i want it to work in AddForm only is because i want to be able to search that field in the column of the main grid.
In the community version this was not a problem because the setRelation fields where normally searchable.
The new system with Select box is really useful but sometimes it is not the best soluction. In my case, in the grid i need to search but in AddForm is better to have a selection box.
Someone can help me ? Thanks