N°7835 - Dashboard - modification on iTop UI with header static without icon

This commit is contained in:
Anne-Cath
2025-08-18 13:16:29 +02:00
parent 965c9dba14
commit e6a0d95cba
19 changed files with 33 additions and 2 deletions

View File

@@ -1501,6 +1501,11 @@ class DesignerIconSelectionField extends DesignerFormField
$this->aAllowedValues = $aAllowedValues;
}
public function AddAllowedValue($aValue)
{
// Add a null value to the list of allowed values
$this->aAllowedValues = array_merge([$aValue], $this->aAllowedValues);
}
public function EnableUpload($sIconUploadUrl)
{
$this->sUploadUrl = $sIconUploadUrl;