Disabling Tag Input Functionality Due to Japanese Input Bug

Hi,

I am experiencing a bug related to Japanese tag input in the current system.

Until this issue is resolved, I would like to temporarily disable the tag input functionality.

Could you please advise on the best settings or provide a code snippet to disable this feature?

I appreciate your support and look forward to your guidance.

Reference link:

Hi,

Yes, this bug is caused by the drop-down script, but we’ll try to fix it, possibly by switching to another script Japanese IME for tagging - Is this a bug? - Select2

Please try using this temporary fix:

add_filter(
	'hivepress/v1/models/listing/attributes',
	function( $attributes ) {
		if ( isset($attributes['tags']) ) {
			$attributes['tags']['type'] = 'select';
			$attributes['tags']['multiple'] = true;
		}

		return $attributes;
	},
	1000
);
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.