Describe the bug
Using the configure_pop_ups() method to turn on/off field visibility in a popup does not work if you have set fieldInfos in the popupElements in the JSON.
To Reproduce
Steps to reproduce the behavior:
The current JSON
error:
Notice that the fieldInfos towards the bottom of the JSON updated for the FID visibility to false but not in the popupElements. The FID field remains visible in the Popup. Also tried with other fields and other layers but all had the same outcome. The only way the configure_pop_ups() method works is if there are no fieldInfos in the popupElements.
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
The FID field / fields entered into the configure_pop_ups() method should be turned on/off
Platform (please complete the following information):
OS: Windows 10
Browser: Chrome
Python API Version: 2.2.0.1
Additional context
Add any other context about the problem here, attachments etc.
Describe the bug Using the configure_pop_ups() method to turn on/off field visibility in a popup does not work if you have set fieldInfos in the popupElements in the JSON.
To Reproduce Steps to reproduce the behavior: The current JSON
Turn off visibility for FID
Check the updated JSON
error: Notice that the fieldInfos towards the bottom of the JSON updated for the FID visibility to false but not in the popupElements. The FID field remains visible in the Popup. Also tried with other fields and other layers but all had the same outcome. The only way the configure_pop_ups() method works is if there are no fieldInfos in the popupElements.
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior The FID field / fields entered into the configure_pop_ups() method should be turned on/off
Platform (please complete the following information):
Additional context Add any other context about the problem here, attachments etc.