Tab Multi-State Box code functions non-functional?

From what you have shared, this behavior may be a bug and if you would like further investigation I suggest opening an issue with customer care

https://support.wix.com/en/article/contacting-wix-customer-care-for-support