[wp-trac] [WordPress Trac] #29632: wpColorPicker does not respect `hide` option

WordPress Trac noreply at wordpress.org
Thu Sep 11 21:12:15 UTC 2014


#29632: wpColorPicker does not respect `hide` option
--------------------------+-----------------------------
 Reporter:  tollmanz      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 `wpColorPicker()` appears to support the `hide` option by listing it in
 the `options` property. When `iris` is initialized, the `hide` value is
 hardcoded and not taken from the options array. `wpColorPicker()` should
 respect the `hide` value passed to it.

 To reproduce, initialize a `wpColorPicker()` with the following code:

 {{{
 $input.wpColorPicker({
   hide: true
 });
 }}}

 Notice that the color picker is in the closed state. It should be opened
 when hide is passed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29632>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list