Allow underscores in Userfield names (closes #2611)

This commit is contained in:
Bernd Bestel 2024-12-23 17:35:49 +01:00
parent 9a319a6ee0
commit 04c5928612
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
3 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@
### 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)
- Userfield names can now also contain underscores
### General

View File

@ -39,7 +39,7 @@
type="text"
class="form-control"
required
pattern="^[a-zA-Z0-9]*$"
pattern="^[a-zA-Z0-9_]*$"
id="name"
name="name"
value="@if($mode == 'edit'){{ $userentity->name }}@endif">

View File

@ -57,7 +57,7 @@
<input type="text"
class="form-control"
required
pattern="^[a-zA-Z0-9]*$"
pattern="^[a-zA-Z0-9_]*$"
id="name"
name="name"
value="@if($mode == 'edit'){{ $userfield->name }}@endif">