Skip to content

Validation error for not required inputs that has pattern atribute #18591

@gptforjoomla

Description

@gptforjoomla

Hi, this pull has a problem with unrequired inputs.

Steps to reproduce the issue

a field that is not required but has pattern to be a number or other . do not fill input and submit.

Expected result

form must submit without error with empty value for the input

Actual result

when user not enter value for this input and submit, validation say that field is not correct

System information (as much as possible)

Joomla 3.8.2

Additional comments

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