Instantly share code, notes, and snippets.

Embed
What would you like to do?
Qlik Sense extension: property panel dropdown with custom alternative
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