toolbar enable/disable options in buttonSelect

I have a toolbar object and list of options under buttonSelect

when I try to use this, it does not work
toolbar.disableItem(‘id of select option’);

You need to use method disableListOption(parentId, optionId)

Thank you,
I overlooked this in the documentation.