Right now when I do
{
'name': 'refreshRate',
'type': 'number',
'default': 30,
}
The editor gives a decimal step. I would think that by doing
{
'name': 'refreshRate',
'type': 'number',
'default': 30,
'editor': 'int'
}
or something like this would change the step, but no it doesn't. Although I can do the following
{
'name': 'refreshRate',
'type': 'int',
'default': 30,
}
which will only allow integer values in the UI, but will send string value to the link.
So right now the only viable option I've had was to parse the double on the server and round it to an int.
Right now when I do
{ 'name': 'refreshRate', 'type': 'number', 'default': 30, }The editor gives a decimal step. I would think that by doing
{ 'name': 'refreshRate', 'type': 'number', 'default': 30, 'editor': 'int' }or something like this would change the step, but no it doesn't. Although I can do the following
{ 'name': 'refreshRate', 'type': 'int', 'default': 30, }which will only allow integer values in the UI, but will send string value to the link.
So right now the only viable option I've had was to parse the double on the server and round it to an int.