Skip to content

Submit search button in form-mini should be disabled until minimum search length is reached #29704

Closed
@markshust

Description

@markshust

Preconditions (*)

  1. Base install of Magento 2.4.0 with sample data installed.
  2. The issue is prevalent on every operating system and browser.

Steps to reproduce (*)

  1. Focus on form-mini search box.
  2. Type one or two alphanumeric characters in search box.

Expected result (*)

  • Submit button (magnifying glass) remains disabled until minimum search length is reached:
    Screen Shot 2020-08-20 at 2 34 09 PM-disabled

Actual result (*)

  • Submit button (magnifying glass) becomes enabled even if minimum search length is not reached:
    Screen Shot 2020-08-20 at 2 34 09 PM

Additional Info

Minimum search length is defined in the related component at https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Search/view/frontend/web/js/form-mini.js#L33


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • [ X ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Area: FrontendComponent: SearchFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions