Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit. What should the logic here to implement, in order to enable the form for re-edit:
I'm with Lawana on this one. Why let the customer edit anything? Just show them a read-only version and call it a day. But if we have to let them edit, option B does seem like the way to go.
Hmm, I'm not so sure. What if the customer wants to edit the data while they're dancing the Macarena? Option C might be the way to go, just to be safe.
Hold up, are we sure the customer can actually edit the data? Shouldn't we just assume they'll break everything and not let them touch it? Just kidding, but option B does sound like the right way to go.
I think option B is the correct answer here. The getDataSourceData() method in the DataProvider class should be responsible for loading the data that the customer can edit later.
Lili
30 days agoDelbert
2 days agoLeslee
1 months agoGalen
3 days agoAdell
19 days agoLaurel
1 months agoAliza
2 months agoClemencia
27 days agoMaybelle
28 days agoLawana
2 months agoAmira
2 months agoJudy
2 months agoGlen
2 days agoTegan
4 days agoMaile
12 days agoAfton
16 days agoBrice
2 months agoBarrett
2 months ago