mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-11 04:39:33 +00:00
Show the regex hint in the browser validation notice.
This commit is contained in:
parent
766c449940
commit
9ddbd4ca57
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ class PartBaseType extends AbstractType
|
|||
if ($this->ipnSuggestSettings->regex !== null && $this->ipnSuggestSettings->regex !== '') {
|
||||
$ipnAttr['pattern'] = $this->ipnSuggestSettings->regex;
|
||||
$ipnAttr['placeholder'] = $this->ipnSuggestSettings->regex;
|
||||
$ipnAttr['title'] = $this->ipnSuggestSettings->regexHelp;
|
||||
}
|
||||
|
||||
$ipnOptions = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue