Fix select-type would not validate server side

This commit is contained in:
nathan 2022-07-19 11:55:08 -06:00
parent 1a2e691cbb
commit b20f57d5ba

View File

@ -829,9 +829,10 @@ class Select extends Etemplate\Widget
$no_lang = True;
break;
case 'select-app': // type2: 'user'=apps of current user, 'enabled', 'installed' (default), 'all' = not installed ones too
case 'select-tab':
case 'select-app': // type2: 'user'=apps of current user, 'enabled', 'installed' (default), 'all' = not installed ones too
$apps = self::app_options($type2);
$options = is_array($options) ? $options+$apps : $apps;
$options = is_array($options) ? $options + $apps : $apps;
break;
case 'select-lang':