mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Allow underscores in Userfield names (closes #2611)
This commit is contained in:
@@ -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">
|
||||||
|
Reference in New Issue
Block a user