Hi,
I have a question about how data-hide works. It is difficult to explain in text, so I will use pictures to explain it.
form:
- queue
- gpus
- opengl
attributes:
queue:
widget: select
options:
- [ "normal node", "normal", data-hide-gpus: true, data-hide-opengl: true ]
- [ "gpu node", "gpu" ]
gpus:
widget: select
value: "0"
options:
- [ "0", "0", data-hide-opengl: true ]
- [ "1", "1" ]
- [ "2", "2" ]
opengl:
widget: check_box
The screen visited for the web form generated by the above form.yml is shown below.
Next, select “gpu node” from Queue and you will be taken to the below screen.
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.
Best,