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);
?>
<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">
<input type="text" id="test" name="test" value="" class="cal" placeholder="tt.mm.jjjj" data-alt-value="" autocomplete="off">
systeminfo-2019-05-27T11_52_29+02_00.txt
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.
here are the system information
systeminfo-2019-05-27T11_52_29+02_00.txt
@thuebschmann its about copy the System Information in the opening Comment so Volunteers don't have to download them.
Status | New | ⇒ | Discussion |
Guess its for J3 so adding the Label.
Labels |
Added:
J3 Issue
|
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
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: ? |
please add System Information in comment.