DataTypeDatalist: set default target type "string"

This commit is contained in:
Thomas Gelf 2019-08-07 14:12:47 +02:00
parent 3c5fa1610c
commit d1a06c11cf

View File

@ -23,7 +23,7 @@ class DataTypeDatalist extends DataTypeHook
{
$params = [];
$behavior = $this->getSetting('behavior', 'strict');
$targetDataType = $this->getSetting('data_type');
$targetDataType = $this->getSetting('data_type', 'string');
$listId = $this->getSetting('datalist_id');
if ($behavior === 'strict') {