mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
Update ChoiceImageFormBlock and add feature to ValueTypeClass.php
This commit is contained in:
@@ -29,10 +29,12 @@ class ChoiceImageFormBlock extends ChoiceFormBlock
|
||||
[
|
||||
'name' => 'image_renderer',
|
||||
'options' => [
|
||||
'images_resource_path' => utils::GetAbsoluteUrlAppRoot().'/env-production/',
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
$oOptionsRegister->SetOption('choice_attr');
|
||||
$oOptionsRegister->SetOption('placeholder', 'UI:InputFile:SelectImage');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user