Hiding Option is Multi Select

I have a multiple select checkbox field and I'm looking to hide some of the options as when a user selects and option on one of the field, I need one of the options to disappear.

I can disabled one of the options using code from another post: (Multiple Checkbox disable some options)

var option5 = $(fd.field('GiantList').$el).find('input[type="checkbox"]')[4]
$(option5).prop( "disabled", true );

But I can't seem to hide it...
I'm sure there is a way, can someone help with the syntax?

Hello @teddy0bear,

You can use the code below to hide specific option.

var optionToHide = $(fd.field('GiantList').$el).find('.custom-checkbox')[4]