mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
Allow underscores in Userfield names (closes #2611)
This commit is contained in:
parent
9a319a6ee0
commit
04c5928612
|
|
@ -59,6 +59,7 @@
|
||||||
### Userfields
|
### Userfields
|
||||||
|
|
||||||
- Userentity tables (custom objects / lists) now also have the table options icon (top left corner eye icon, to e.g. add a grouping condition)
|
- Userentity tables (custom objects / lists) now also have the table options icon (top left corner eye icon, to e.g. add a grouping condition)
|
||||||
|
- Userfield names can now also contain underscores
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
required
|
required
|
||||||
pattern="^[a-zA-Z0-9]*$"
|
pattern="^[a-zA-Z0-9_]*$"
|
||||||
id="name"
|
id="name"
|
||||||
name="name"
|
name="name"
|
||||||
value="@if($mode == 'edit'){{ $userentity->name }}@endif">
|
value="@if($mode == 'edit'){{ $userentity->name }}@endif">
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
<input type="text"
|
<input type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
required
|
required
|
||||||
pattern="^[a-zA-Z0-9]*$"
|
pattern="^[a-zA-Z0-9_]*$"
|
||||||
id="name"
|
id="name"
|
||||||
name="name"
|
name="name"
|
||||||
value="@if($mode == 'edit'){{ $userfield->name }}@endif">
|
value="@if($mode == 'edit'){{ $userfield->name }}@endif">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user