Last active
July 17, 2018 08:02
-
-
Save erikwett/147197780c5827b4c65e44ba832e5277 to your computer and use it in GitHub Desktop.
Qlik Sense extension: property panel dropdown with custom alternative
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
width: { | |
type: 'string', | |
component: 'dropdown', | |
label: 'Width', | |
ref: 'width', | |
options: [{value: '', label: 'Default'}, | |
{value: 'fill', label: 'Fill'}, | |
{value: 'custom', label: 'Custom'}] | |
}, | |
customwidth: { | |
type: 'string', | |
ref: 'customwidth', | |
label: 'Custom width', | |
expression: 'optional', | |
show: function (data) { | |
return data.width === 'custom'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment