Skip to content

Remove minimum character limit from attribute selection #39667

@inqrt

Description

@inqrt

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Suddenly, entering three characters minimum is mandatory when selecting a product attribute - which is nonsense since a lot of attributes can be shorter (e.g. clothing sizes S,M,L,XL,...) and renders product attribute management for users difficult.

Expected behavior

Not having a minimum character limit for select fields in product management screen

Actual behavior

Attributes with less than three characters cannot be found / autocomplete does not produce results

Steps to reproduce

  1. Products -> edit product
  2. Attributes -> try to add attribute with a name like "S", "M", "L" or "XL"
  3. Fail :)

WordPress Environment

Latest WP and woocommerce

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions