You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In XML file we have a tag called "validationtext".
This element is not useful because it is not translatable.
Expected result
data-validation-text="Please fill Title"
Actual result
data-validation-text="TITLE_FILL_ELEMENT"
System information (as much as possible)
In the .ini file :
TITLE_FILL_ELEMENT="Please fill Title"
Additional comments
Please fix this file : layouts\joomla\form\field\text.php
At line : 98
!empty($validationtext) ? 'data-validation-text="' . $validationtext . '"' : '',
Change this line to this :
!empty($validationtext) ? 'data-validation-text="' . Text::_($validationtext) . '"' : '',
Thanks.
The text was updated successfully, but these errors were encountered:
The data-validation-text is used in the validation script (client side) in order devs to have the option to set a custom invalid state message PER FIELD:
Steps to reproduce the issue
In XML file we have a tag called "validationtext".
This element is not useful because it is not translatable.
Expected result
data-validation-text="Please fill Title"
Actual result
data-validation-text="TITLE_FILL_ELEMENT"
System information (as much as possible)
In the .ini file :
TITLE_FILL_ELEMENT="Please fill Title"
Additional comments
Please fix this file : layouts\joomla\form\field\text.php
At line : 98
!empty($validationtext) ? 'data-validation-text="' . $validationtext . '"' : '',
Change this line to this :
!empty($validationtext) ? 'data-validation-text="' . Text::_($validationtext) . '"' : '',
Thanks.
The text was updated successfully, but these errors were encountered: