Skip to content

Variable Mismatch for Maximum Length of Content #104

@revoke

Description

@revoke

$comp->setHtmlAttribute('maxlength', $cols);

The $cols variable, which defines the visual width (columns) of the input field, is currently being used to set the maxlength HTML attribute.

This will result in the maximum length of the input field being determined by its visual width instead of the intended $maxLength value.

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