Zend certified PHP/Magento developer

Magento2: Delete of custom option not working when created a new type of Custom Option group

I have created a new type of custom option but when I’m trying to delete it it get deleted but the other custom option data gets deleted as well. It only happens if I create the option on sort order 1st position. It also gives JS error in console. screen-shot (admin): https://nimb.ws/5oiS3A screen-shot (after deleting) : https://nimb.ws/etLsiu
Anyone have an idea for that?