DateTime display() as an option
DateTime display() as an option

For the DateTime plugin, display()
is available through the api, but an option would be helpful as well.
{
label: 'Some date field',
name: 'some_date',
type: 'datetime',
opts: {
display: {
year: 1982,
month: 10
}
}
},
or maybe...
{
label: 'Some date field',
name: 'some_date',
type: 'datetime',
opts: {
display: [1982, 10]
}
},
The display
option would probably only take affect if there is no current value or default value set.
Answers
Good idea! Added to the list
.
Allan