only allow single selection for LOG_AGGREGATOR_TYPE

see: #5000
This commit is contained in:
Ryan Petrello
2017-02-14 16:59:30 -05:00
parent 16888f26cc
commit 28f3f178f0
2 changed files with 1 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export default [
dropdownRendered = true; dropdownRendered = true;
CreateSelect2({ CreateSelect2({
element: '#configuration_logging_template_LOG_AGGREGATOR_TYPE', element: '#configuration_logging_template_LOG_AGGREGATOR_TYPE',
multiple: true, multiple: false,
placeholder: i18n._('Select types'), placeholder: i18n._('Select types'),
opts: opts opts: opts
}); });

View File

@@ -23,7 +23,6 @@
type: 'select', type: 'select',
reset: 'LOG_AGGREGATOR_TYPE', reset: 'LOG_AGGREGATOR_TYPE',
ngOptions: 'type.label for type in LOG_AGGREGATOR_TYPE_options track by type.value', ngOptions: 'type.label for type in LOG_AGGREGATOR_TYPE_options track by type.value',
multiSelect: true
}, },
LOG_AGGREGATOR_USERNAME: { LOG_AGGREGATOR_USERNAME: {
type: 'text', type: 'text',