Skip to content

button component 'color' parameters rgb or hyphened not assigning #777

@rcwombat

Description

@rcwombat

Introduction

Attempting to use color from database as the color row-level parameter for a button component and have found that only the (un-hyphened) description will actually assign the color to the button. eg: blue/pink/lime works, however, if attempting to use either rgb eg: #0054a6/#d6336c/#74b816 or blue-lt etc the component color remains white...

To Reproduce

List of steps to reproduce the behavior. Include the sql file you are using and the eventual relevant parts of your database schema

SELECT 'button' AS component,
'pill' AS shape,
'lg' AS size;

SELECT Caption AS title,
Description AS tooltip,
'#74b816' AS color
FROM Screen;

Actual behavior

RGB color does not assign (nor does using gray-lt etc...), button color remains white
Only un-hyphened descriptive colors seem to work?

Expected behavior

Assign the RGB/hyphened color to the button.

Version information

  • OS: Windows 10
  • SQL Server 2019
  • SQLPage Version: 0.32.1
    (edit for spelling))

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions