I have a lightning-input-field that shows picklist options I need to remove one of the options at run time, I tried using querySelector to hide the option but it always returns null.
<div class="removeOptions">
<lightning-input-field required="true" name="TechnicalSubject" onchange={handleActionField} label="Action Taken" field-name="ActionTaken__c" variant="label-hidden">
</lightning-input-field>
</div>
JS
handleActionField(event){
const items = this.template.querySelector(".removeOptions[data-value='NO ACTION TAKE']");
console.log('HandleActionShow ', items);
items.style.display = 'none';
}