Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Nov 01, 2016 @ 19:17
    suzyb
    0

    Does anyone know whether it's possible to de-select a palette. We use this package to allow editors to select a gradient to apply to banners. Sometimes however when a banner is changed they'll want to remove the gradient.

    Is it possible to de-selected a palette?

  • Bjarne Fyrstenborg 1280 posts 3990 karma points MVP 7x c-trib
    Nov 01, 2016 @ 22:11
    Bjarne Fyrstenborg
    100

    Hi..

    The underlying html of the palettes are using radiobuttons, which are not supposed to be left blank.

    It could use checkboxes, but I don't know if the is any scenario, where one want to select multiple palettes.

    A solution could be to define a "No palette", which use a color (or multiple colors) of your choice. Then in your output you can set the color/palette/gradient only if one is chosen and does not match alias of "No palette", e.g. "noPalette".

    enter image description here

    /Bjarne

  • suzyb 474 posts 932 karma points
    Nov 21, 2016 @ 14:25
    suzyb
    0

    Thanks Bjarne. That solution works.

Please Sign in or register to post replies

Write your reply to:

Draft