? Failure

User tests: Successful: Unsuccessful:

avatar minijoomla
minijoomla
17 Nov 2017

This code will fix this issue

Pull Request for Issue #18591 .

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

avatar minijoomla minijoomla - open - 17 Nov 2017
avatar minijoomla minijoomla - change - 17 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Nov 2017
Category JavaScript
avatar zero-24 zero-24 - change - 17 Nov 2017
The description was changed
avatar zero-24 zero-24 - edited - 17 Nov 2017
avatar zero-24 zero-24 - change - 17 Nov 2017
Title
#18591
Validation error for not required inputs that has pattern attribute
avatar zero-24 zero-24 - edited - 17 Nov 2017
avatar zero-24 zero-24 - change - 17 Nov 2017
Title
#18591
Validation error for not required inputs that has pattern attribute
avatar SharkyKZ
SharkyKZ - comment - 27 Oct 2020

@minijoomla Are you still around? Can you fix conflicts and add minified JS?

avatar SharkyKZ
SharkyKZ - comment - 27 Oct 2020

Nevermind. Looks like this has been fixed at some point. Thanks for the PR anyways.

avatar SharkyKZ SharkyKZ - change - 27 Oct 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-10-27 06:50:01
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - close - 27 Oct 2020

Add a Comment

Login with GitHub to post a comment