forked from Wavyzz/dolibarr
Fix use css of setup text item when fieldAttr are also provided
This commit is contained in:
@@ -102,6 +102,7 @@ $item->cssClass = 'minwidth500';
|
||||
// Setup conf for selection of a simple string input
|
||||
$item = $formSetup->newItem('MYMODULE_MYPARAM2');
|
||||
$item->defaultFieldValue = 'default value';
|
||||
$item->fieldAttr['placeholder'] = 'A placehoder here';
|
||||
|
||||
// Setup conf for selection of a simple textarea input but we replace the text of field title
|
||||
$item = $formSetup->newItem('MYMODULE_MYPARAM3');
|
||||
|
||||
Reference in New Issue
Block a user