Here, you can see the OpenGL checkbox.
Is it possible to hide this checkbox using the above flow ?
Of cause, when you select “1” from Gpus and then select “0” again, the OpenGL checkbox will disappear. But I want it to be invisible from the beginning.
So when I copied this I had the behavior that you’d expect. This makes me think that you’ve launched this application in the past with gpus set to 1 or more and this value is being cached.
So what you’re seeing when the page loads is the fact that gpus is not the defualt 0 that you’ve provided, but instead the cached value of 1 or 2.
You can disable caching by setting cacheable attribute to false. This way the starting value of gpus will always be 0 as you’ve set it there. (hacking around I had to set it on both queue and gpus, so you may have to play around a bit with it).
By the way - you probably also want a data-set-gpus=0 attached to the normal node option. Unfortunately, we don’t have a lot of support for checkboxes at this time so there’s no way to reset that value.