mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Add user-field-type "file" (#977)
* Add user-field-type "file" * Add userfield-type "picture" * Also limit image height on userfieldsform * Prevent empty userfields (cause warnings in tables after deleting a file) * Show files in dialogs Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
committed by
GitHub
parent
318db53818
commit
07beee93a9
@@ -14,8 +14,10 @@ class UserfieldsService extends BaseService
|
||||
const USERFIELD_TYPE_PRESET_LIST = 'preset-list';
|
||||
const USERFIELD_TYPE_PRESET_CHECKLIST = 'preset-checklist';
|
||||
const USERFIELD_TYPE_LINK = 'link';
|
||||
const USERFIELD_TYPE_FILE = 'file';
|
||||
const USERFIELD_TYPE_IMAGE = 'image';
|
||||
|
||||
public function __construct()
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
Reference in New Issue
Block a user