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
1 months agoGracie
20 hours agoNakita
7 days agoDelbert
16 days agoLeslee
2 months agoEdward
3 days agoGalen
17 days agoAdell
1 months agoLaurel
1 months agoAliza
2 months agoClemencia
1 months agoMaybelle
1 months agoLawana
2 months agoAmira
2 months agoJudy
2 months agoGlen
16 days agoTegan
18 days agoMaile
26 days agoAfton
30 days agoBrice
2 months agoBarrett
2 months ago