dev/core#4937 - Fix js error in formBuilder autocompletes
authorcolemanw <coleman@civicrm.org>
Fri, 26 Jan 2024 15:11:43 +0000 (10:11 -0500)
committercolemanw <coleman@civicrm.org>
Fri, 26 Jan 2024 15:11:43 +0000 (10:11 -0500)
commit4709994e19d0726fe5b8ee5c0086528d1dae4543
treee1f04405a1deb1378cae53f1c039528858301edc
parent29fdcef8112d736ed43b2309bae0de16533bccc3
dev/core#4937 - Fix js error in formBuilder autocompletes

Due to 5071a76 this field was fetching form values during every digest cycle and in some
cases this was causing an infinite loop. Updated the field to only fetch values when needed.
ext/afform/core/ang/af/afField.component.js
ext/afform/core/ang/af/fields/EntityRef.html
js/Common.js