Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No change color - Panel component #5569

Open
afuentes1800 opened this issue Apr 17, 2024 · 0 comments
Open

No change color - Panel component #5569

afuentes1800 opened this issue Apr 17, 2024 · 0 comments

Comments

@afuentes1800
Copy link

afuentes1800 commented Apr 17, 2024

Hello everyone,

I want to change the color of a component bar, Customer has requested a custom color from their brand manual.

Object: panel component

CODE
{
"display": "form",
"settings": {
"pdf": {
"id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0",
"src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0"
}
},
"components": [
{
"customClass": ".bg-success { background-color: #7fbc03 !important; }",
"collapsible": false,
"key": "panel",
"type": "panel",
"label": "Panel",
"customStyle": "background-color: #7fbc03 !important;",
"input": false,
"tableView": false,
"components": [
{
"label": "Hola mundo",
"applyMaskOn": "change",
"autoExpand": false,
"customClass": ".bg-success { background-color: #7fbc03 !important; }",
"tableView": true,
"key": "holaMundo",
"type": "textarea",
"input": true
}
]
},
{
"type": "button",
"label": "Submit",
"key": "submit",
"disableOnInvalid": true,
"input": true,
"tableView": false
}
]
}

example

Thanks.

@afuentes1800 afuentes1800 changed the title Change bar color of a component No change color - Panel component Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant