• Resolved metamorpher

    (@metamorpher)


    Hello god people. I’m having problems with the last update of this marvelous plugin. Suddenly, all the color pickers I had set up before are gone in my custom post type editor (clic for picture), in classic mode. But I am able to see the color picker in Block Mode but as I said, the problem is in my custom post type, and on classic mode. I don’t know if you stopped supporting classic mode, and didn’t find any info about that too. Also, the absence of the color picker doesn’t produce any error on console.
    Please, if you can help me I’ll be very grateful. Thanks in advance beautiful community.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @metamorpher ,

    Thanks for your feedback. I’ve just checked the color field with a custom post type that doesn’t support block editor and don’t see the problem. Here is my screenshot:

    View post on imgur.com

    Is there anything that I am missing? Can you post the list of the plugins you’re using and the code of the meta box?

    Thread Starter metamorpher

    (@metamorpher)

    Hi @rilwis, this is my array for the field:

    
    array(
    	'name'	=> __( "Color de Cabecera" ),
    	'id'	=> 'color_overlay',
    	'type'	=> 'color',
    	'clone'	=> false,
    )
    

    What I found out is that if I enable cloning of that field, I press Add More and it adds another field without any problem. But the parent object is unusable. Weird.

    For the record: I’m testing it on local, and don’t have any plugin active, but the one I made my custom post type and call the rwmb_meta_boxes filter.

    • This reply was modified 5 years, 3 months ago by metamorpher.
    Thread Starter metamorpher

    (@metamorpher)

    Sorry, my bad. I have an js that was being called by a coworker and he didn’t tell me that he was using it. That was breaking the whole schema. Sorry for the trouble.

    Thread Starter metamorpher

    (@metamorpher)

    If you guys want to know what the issue was, then, the JS of my coworker was using wpColorPicker to listen to changes of the field. Changing that function name for iris was enough to fix ’em. Haha.

    Plugin Author Anh Tran

    (@rilwis)

    Glad that you resolved it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Color picker not showing at all’ is closed to new replies.