Skip to content

Angular Material autocomplete attribute causes HTML_CodeSniffer to not load errors/warnings #296

Open
@OurFinalBow

Description

@OurFinalBow

When using the following code the code sniffer gets stuck trying to load results (infinite load spinner):

            <mat-form-field class="fieldCCNumber" appearance="outline">
                <mat-label>Card Number</mat-label>
                <input matInput autocomplete="cc-number" id="cc-number" required>
            </mat-form-field>

When I remove the autocomplete="cc-number" it works fine and returns results. However, the autocomplete is needed for the credit card autofill to work with the angular material.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions