No Code Attached Yet J3 Issue
avatar thuebschmann
thuebschmann
27 May 2019

Steps to reproduce the issue

platce the folling cate in Templace

<?php
$attrib = array ("class"=>"cal");

$attrib['placeholder']='tt.mm.jjjj';
$attrib['pattern']='\d{2}.\d{2}.\d{4}';
echo JHtml::_('calendar', time(), 'test', 'test','%d.%m.%Y', $attrib);
?>

Expected result

<input type="text" id="test" name="test" value="" class="cal" pattern="\d{2}\.\d{2}\.\d{4}\" placeholder="tt.mm.jjjj" data-alt-value="" autocomplete="off">

Actual result

<input type="text" id="test" name="test" value="" class="cal" placeholder="tt.mm.jjjj" data-alt-value="" autocomplete="off">

System information (as much as possible)

systeminfo-2019-05-27T11_52_29+02_00.txt

Additional comments

avatar thuebschmann thuebschmann - open - 27 May 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 May 2019
avatar thuebschmann thuebschmann - change - 27 May 2019
The description was changed
avatar thuebschmann thuebschmann - edited - 27 May 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 May 2019

please add System Information in comment.

avatar Bakual
Bakual - comment - 27 May 2019

Does that even make much sense in a localised enviroment?
Imho it would only work in your own extension which you run on a site where only one language is installed. As soon as you have a distributed extension, you don't know in which language it will be used and the pattern may be different.

avatar thuebschmann
thuebschmann - comment - 27 May 2019

here are the system information
systeminfo-2019-05-27T11_52_29+02_00.txt

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 May 2019

@thuebschmann its about copy the System Information in the opening Comment so Volunteers don't have to download them.

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 May 2019
Status New Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Jun 2019

Guess its for J3 so adding the Label.

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jun 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 7 Jun 2019
avatar brianteeman
brianteeman - comment - 23 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar zero-24 zero-24 - change - 23 Aug 2022
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2022-08-23 13:41:28
Closed_By zero-24
Labels Added: No Code Attached Yet
Removed: ?
avatar zero-24 zero-24 - close - 23 Aug 2022

Add a Comment

Login with GitHub to post a comment