SELECT tag retrofitting does not work inside client-side custom tags #1

Open
opened 2024-06-04 18:39:59 +00:00 by beckermj · 0 comments
Owner

The routine to take SELECT tags and wrap them in our custom elements fails when the SELECT tag is within one of our uwt:* custom tags, which is parsed on the client side.

For some reason the element gets successfully popped out of the DOM and replaced with the custom DIV, but the events do not get correctly attached to the replacement INPUT. So the custom control doesn't work.

See in test.html the first SELECT element which gets properly retrofitted, vs. the SELECT inside a tab container which does not.

The routine to take SELECT tags and wrap them in our custom elements fails when the SELECT tag is within one of our <uwt:*> custom tags, which is parsed on the client side. For some reason the element gets successfully popped out of the DOM and replaced with the custom DIV, but the events do not get correctly attached to the replacement INPUT. So the custom control doesn't work. See in test.html the first SELECT element which gets properly retrofitted, vs. the SELECT inside a tab container which does not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alcetech/uwt-web#1
No description provided.