2
0
forked from Wavyzz/dolibarr

NEW Add property "copytoclipboard" in modulebuilder

This commit is contained in:
Laurent Destailleur
2021-08-24 13:19:53 +02:00
parent 56c314c671
commit 366fa13fc0
7 changed files with 64 additions and 21 deletions

View File

@@ -92,6 +92,8 @@ class MyObject extends CommonObject
* 'autofocusoncreate' to have field having the focus on a create form. Only 1 field should have this property set to 1.
* 'comment' is not used. You can store here any text of your choice. It is not used by application.
* 'validate' is 1 if need to validate with $this->validateField()
* 'copytoclipboard' is 1 or 2 to allow to add a picto to copy value into clipboard (1=picto after label, 2=picto after value)
*
* Note: To have value dynamic, you can set value to 0 in definition and edit the value on the fly into the constructor.
*/