initialValue?
RustyDev opened this issue · comments
RustyDev commented
Is it possible to set an initialValue?
RustyDev commented
Was able to resolve it:
{
title: 'Button Color',
description: 'Pick a color',
name: 'buttonColor',
type: 'colorlist',
options: {
list: [
{title: 'black', value: '#333333'},
{title: 'blue', value: '#437c90'},
{title: 'white', value: '#ffffff'}
]
},
initialValue: {
title: 'black',
value: '#333333'
}
},
Would be nice to add this to the documentation 😀