I’m successfully using a switch icon by creating a Boolean attribute and adding a format configuration item like this:
{
“asOnOff”: true
}
Likewise, I’m able to create a slider using a Number attribute with the following format:
{
“asSlider”: true
}
However, I’m having trouble setting the slider range. I’d like to set a minimum of 0 and maximum of 100, but the slider currently appears maxed out at 100% with no visible variability or ability to set a different value.
I’ve tried using constraints like this:
{
“minimum”: 0,
“maximum”: 100
}
But this results in a “Failed to save asset” error. Has anyone managed to set a range successfully for a slider? Any advice would be appreciated.