-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP SP8, 7.0.X, 7.1.0 CE GA1, 7.1.X, Master
-
Fix Version/s: 7.1.10 DXP FP3, 7.1.1 CE GA2, 7.1.10.1 SP1, 7.1.X, Master
-
Component/s: Forms
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:4
-
Sprint:F&W Sprint 5
-
Git Pull Request:
Summary
"[DOM] Found 2 elements with non-unique id" errors occur when you're clicking on "REST Data Provider" creation button
Steps to Reproduce
- Product Menu -> Liferay DXP (Site) -> Content -> Forms ->Options ⋮ -> Data Providers
- Open console in your browser
- Click on + icon (REST Data Provider)
Actual Result
Normal loading on the browser, but browser console errors appear:
[DOM] Found 2 elements with non-unique id #_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US: (More info: https://goo.gl/9p2vKq) <input class="custom-control-input" id="_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" name="_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" type="checkbox" value="true"> <input id="_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" name="_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" type="hidden" value="false">
Expected Behavior
No browser console errors are present.
Reproduced in
7.1.X Private Commit: 82e87bf9ce198a34ad7e1eb134238d702d38a04d