How can I constrain the options of experiment info in Builder mode

Win10
2021.2.0.

How can I constrain the options the options of experiment info in Builder mode

I know if I used the coder mode. I only add a info dictionary to the gui.DlgFromDict(dictionary=info).

But I wonder how can I do this in builder mode.

Try something like

[‘Yes’,’No’]

as the default value