How do I add custom JavaScript to a form?
I am using the ColorPicker component and I want to change the SVG prefix icon color with JavaScript so it reflects whatever color has been chosen in real time. However I can't figure out how to get the JavaScript on to the page when it renders.
I've asked copilot and gone around the houses looking at getScripts and getFooterScripts in the edit page resource neither of which viewing the source appear to be doing anything.
Would really appreciate some advice, you'd be really helping me out.
I've asked copilot and gone around the houses looking at getScripts and getFooterScripts in the edit page resource neither of which viewing the source appear to be doing anything.
Would really appreciate some advice, you'd be really helping me out.