Skip to content

Feature request: allow user-defined colour names to be returned. #61

Description

@Limey-at-puzzledface

It palette is "limited", permittedCols is named, and returnName is TRUE, return the name of the name selected element of permittedCols rather than its value.

I hope this is a fairly easy change. I cloned the repo with the intention of providing a solution myself, but it looks as if the change needs to be made in JavaScrip rather than R, and that's outside my skillset.

It looks like the relevant code is on lines 61 & 62 of inst/srcjs/input_binding_colour.js...

If this isn't possible, or doesn't fit with your vision for the package, that's not a problem. It's easy to implement in the app's server function. It would just be cleaner if the input widget didn't it for you.

Thank you for your always excellent contributions to the R community, Dean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions