add placeholder with example for regex

This commit is contained in:
Uwe Steinmann 2021-09-16 17:11:14 +02:00
parent 16da190e06
commit 56a352caca

View File

@ -308,6 +308,7 @@ $(document).ready( function() {
'element'=>'input', 'element'=>'input',
'type'=>'text', 'type'=>'text',
'name'=>'regex', 'name'=>'regex',
'placeholder'=>'/[0-9]+abc.-*/',
'value'=>($attrdef ? $attrdef->getRegex() : ''), 'value'=>($attrdef ? $attrdef->getRegex() : ''),
), ),
['help'=>getMLText('attrdef_regex_help')] ['help'=>getMLText('attrdef_regex_help')]