Bootstrap Select


I can’t seem to get the disabled property working when doing a Select1.addItem. The documentation says it is a boolean attribute - I’ve tried both of the following, but neither works (both give a syntax error).

Select1.addItem(“Item1”, , ,True)
Select1.addItem(“Item1”, , ,1)


What happens if you supply values for the missing arguments:

Select1.addItem("Item1", 1, False  ,True)
Select1.addItem("Item1", 2, False ,1)


That works, thank you