mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add placeholder with example for regex
This commit is contained in:
parent
16da190e06
commit
56a352caca
|
@ -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')]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user