I am struggling with selecting Tax Rates in Magento 2.4.4.
There was a fantastic answer to this issue: How to select multiple tax-rate In Magento 2?
Where the Console code lets us select ALL tax rates listed. However, I need to select only 20,000 of 40,000 tax rates. And I’d really like to not do that manually. Is anyone able to edit this code to allow a text search?
I was trying (without any luck) all sorts of versions of something like:
require(["jquery"],function($){
$( ".mselect-fixed label" ).each(function( index ) {
if($(this).children("input").hasClass("mselect-checked")){}
else if($(this).children("span").includes("WI")){$(this).trigger('click');
}});
});