-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit Content: Research for Custom Fields #27661
Comments
Research (Proxy API Approach)We know that a Proxy needs to be created using Due to the default behavior of DOM Nodes and DOM Elements, we cannot inject Proxied Elements/Nodes, because the browser engine manage those Objects as special and embedded ones. This means that any attempt to append/replace a node/element with a proxied one is rejected by the engine. One approach that I found several times while investigating how this works, is to create custom elements that controls the get/set of their values. I'm not really sure if it is an optimal approach right now but can be a point to explore if needed. Proxy is not a way because of how the engine works at the moment. This can change in the future, but right now is kind of impossible. |
Research Pure JavascriptAfter some attemps, is clear the element.value = "some" doesnt trigger any event. So we have some options
So this trigger the InputEvent and run the callback inside EventListener
This approach seems works, but is cost and doest work good with dojo.byId(). |
Research Pure Javascript (
|
Parent Issue
#25445
Task
Make research of how to communicate Angular with Custom Field Iframe using input with hidden type and an strategy to dispatch events from the Iframe to the Angular side.
Timebox: 2h
Proposed Objective
Technical User Experience
Proposed Priority
Priority 3 - Average
The text was updated successfully, but these errors were encountered: