I have a Form with a list control, after I saved a new form with all datas and I'm compiling a new one, the New form show the list control items I add to the last one.
If I click on refresh button in the list control, the items disappear.
both forms are correct but i think this isn't the aspected behavior.
The form is in a web part in a Sharepoint page (it happens even if in full.screen or panel mode), after clicking "save" button, I am automatically redirect to a new form (no code for this)
The form has a js script (lot of code) but I can't find errors in console
Perhaps, it takes too much time to update the items? if so, can I refresh list control automatically?
I've just tried to put fd.control('SPDataTable1').refresh() at the beginning of sp.rendered and:
on the first time I open the form I get an error for every fd.control(listtname) I set;
the second one I don't get any error, probably because the form is in a web part and the form is already rendered (???) but the problem persist in every list I try to refresh.
It seems the the refresh command in js and the refresh button do something different