Add option display to form (css needs updates)

Add options with_run_button and with_book_button to FormBlockOql
This commit is contained in:
Benjamin DALSASS
2026-01-12 08:00:17 +01:00
parent 3c365fc103
commit f79bb9d51c
6 changed files with 57 additions and 13 deletions

View File

@@ -37,6 +37,8 @@ class OqlFormBlock extends TextAreaFormBlock
{
parent::RegisterOptions($oOptionsRegister);
$oOptionsRegister->SetOption('with_ai_button', false);
$oOptionsRegister->SetOption('with_book_button', true);
$oOptionsRegister->SetOption('with_run_button', true);
$oOptionsRegister->SetOptionArrayValue('attr', 'placeholder', 'SELECT Contact');
}