Color Picker as an editable type

(3 posts) (2 voices)
  1. cris, Member

    Hello,

    Under 'Report Categories', myDBR has a simple color picker to choose the color assigned to the report category. Is it possible to use this or similar color picker as an input type for our editable reports?

    When adding a new record, I am able to add
    $('#popup_parameter_u6').get(0).type='color';

    to the Help/JavaScript box to use the default HTML5 color picker, but I can't figure out how to change an editable field in a report to this input type.

    Thank you for your help,
    Cris

  2. myDBR Team, Key Master

    We can add a color editable type, no problem.

    --
    myDBR Team

  3. myDBR Team, Key Master

    Cris,
    there is now a colorpicker editable type. It will use browser's native colorpicker if available and a JavaScript one when browser does not support it. See demo for example.

    --
    myDBR Team


Reply

You must log in to post.