[wp-trac] [WordPress Trac] #27491: Widget Customizer: Dynamically-created inputs cause from to replace itself without event to trigger re-initialization
WordPress Trac
noreply at wordpress.org
Tue Apr 1 06:48:32 UTC 2014
#27491: Widget Customizer: Dynamically-created inputs cause from to replace itself
without event to trigger re-initialization
--------------------------+-------------------------
Reporter: westonruter | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 3.9
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by westonruter):
With my latest patch, `option` elements are disregarded when syncing a
sanitized form with the loaded form. It is expected that the JS in the
form will be populating the `select` elements dynamically to correspond
with any server-side processing to supply the `option`s. Also, now that
only elements with `name` attributes are considered, the sample plugin
using Chosen will not trigger an "Apply" to appear because the `name`d
input elements will not get out of sync with the inputs with `name`
attributes in the sanitized form.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27491#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list