on 2020 Jan 30 8:21 PM
Hi everyone,
Please help me. How to refresh simpleForm input fields with new details on view?
I am developing an app. App has 3 views. those are List view, CA view and FED view. If CA is selected, CA view will be displayed. if FED is selected FED view will be displayed. the problem is with details view. i have two FED records.
Issue: First, I selected 2nd record with dates 01/01/2020 To 05/21/2020 (FED). I see W4 form with dates and details. For checking the value, I put one input field value “Amt Children” as Label under Exemptions box. Now, clicked on Back button and selected 3rd record which is also FED but dates are different. Here is the actual issue. input field values are not getting updated with new context. Form binding is happening. It is holding old values. Dates are updated for both records (same view) since those are text labels. Input fields are not updated.
Detail view of FED (2nd from list). Value of “Amt Children” is the same on label and on input field.fed-1st-record.png
Detail view of 3rd record, Fed. The value of “Amt Children” is 4000 (marked in circle on label). But it is showing previous value on input field. fed-2nd-record.png
Not only this field, all input fields are showing first displayed details.
simpleForm context: form-context.png
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
I got the answer through incident. It is small thing but it killed my time. I should remember this point from next time on wards. Thanks to Mirco from SAP-UK. The answer is "Binding Mode" from manifest changed from "One time" to "One way".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.