Hallo zusammen,
seit den Schwenk auf Contao 3.3. habe ich folgendes Problem bei einem selbst programmierten Backend Modul.
Wird in das Textfeld "ShopDeepLink_dis" ein & dann wird an die Funktion "saveCategoriesDIS" ein & übergeben.
Laut Anleitung (https://docs.contao.org/books/api/dca/reference.html) soll dass aber bei allowHtml=>false gerade nicht passieren?
Hat jemand eine Idee was da falsch läuft?
PHP-Code:
'ShopKategorienDis' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_shop']['ShopKategorienDis'],
'inputType' => 'multiColumnWizard',
'search' => true,
'filter' => false,
'save_callback' => array(array('dands_shop', 'saveCategoriesDIS')),
'load_callback' => array(array('dands_shop', 'loadCategoriesDIS')),
'eval' =>
array
(
'columnFields' => array
(
'Kategorie' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_shop']['Kategorie'],
'inputType' => 'select',
'options_callback' => array('dands_shop', 'getShopKategorienDis'),
'eval' => array('style' => 'width:150px', 'allowHtml'=>false, 'mandatory'=>false, 'doNotSaveEmpty'=>true , 'maxlength'=>100)
),
'ShopDeepLink_dis' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_shop']['ShopDeepLink_dis'],
'inputType' => 'text',
'eval' => array('style' => 'width:500px', 'allowHtml'=>false, 'mandatory'=>false, 'doNotSaveEmpty'=>false , 'maxlength'=>254)
),
'not_published' => array
(
'label' => &$GLOBALS['TL_LANG']['dands_shop']['not_published'],
'inputType' => 'text',
'eval' => array('style' => 'width:30px', 'allowHtml'=>false, 'mandatory'=>false, 'doNotSaveEmpty'=>false , 'maxlength'=>1)
)
),
'mandatory' => false,
'doNotSaveEmpty'=>true,
'allowHtml'=>false,
'buttons' => array('delete' => false),
)
Lesezeichen