[wp-trac] [WordPress Trac] #30951: Customizer: visible values (choices) not correct after setting it through javascript
WordPress Trac
noreply at wordpress.org
Fri Jan 9 12:12:57 UTC 2015
#30951: Customizer: visible values (choices) not correct after setting it through
javascript
--------------------------+------------------------------
Reporter: katazina | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+------------------------------
Comment (by katazina):
With checkboxes if I write it as string, than doesn't work, just with
numeric values.
`<input type="checkbox" ... />`
`api.instance('separation').set(0); //works`
`api.instance('separation').set('0'); //not working`
Which should be right?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30951#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list