Support Article
Display location on change of text input does not work
SA-5860
Summary
User reported that when trying to search a location on their map, user is not able to locate.
Error Messages
Not Applicable
Steps to Reproduce
User followed the steps on this url :https://pdn.pega.com/pega-mobile/create-a-map-of-assignments-for-pega-mobile-users
Able to see current location but not able to see location mentioned in textbox.
Root Cause
Initially all things were in one Section,So when the autopostback is happening that textbox value was going off, address map not able to relocate.
Resolution
This issue is resolved by following these steps:
Step 1: Create One property named as “Mumbai”.
Step 2: Create Section “Display location” and placed text input inside.
Step 3: Click on Text Input properties.
Step 4. Put Event as “Change”.
Step 5. Choose action as “Refresh”.
Step 6: Click on Action Tab.
Step 7. Choose Target as “Other Section” and configure section that contains Address map control. Press ok and save all settings.
Step 8. Go to Section which contains “Address Map Control”, append “Display Location” section.
Step 9. Create flowaction and place this section in it and save it.
Step 10.Create Flow and place this flowaction. Run it.
Step 11. Delete the row. Press Create button.
Step 12.Observe that Blue one is current location and Red one is display location, that is “Pune” entered in Text Input.
Published February 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.