|
@@ -1201,11 +1201,8 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
|
|
|
<!-- ko if: meta.type() == 'text' -->
|
|
<!-- ko if: meta.type() == 'text' -->
|
|
|
<input class="input-medium" type="text" data-bind="value: value, attr: { placeholder: meta.placeholder() || '${ _ko('Variable value') }' }, valueUpdate: 'afterkeydown', autogrowInput: { minWidth: 150, maxWidth: 270, comfortZone: 15 }, event: { 'keydown': $parent.onKeydownInVariable }">
|
|
<input class="input-medium" type="text" data-bind="value: value, attr: { placeholder: meta.placeholder() || '${ _ko('Variable value') }' }, valueUpdate: 'afterkeydown', autogrowInput: { minWidth: 150, maxWidth: 270, comfortZone: 15 }, event: { 'keydown': $parent.onKeydownInVariable }">
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
- <!-- ko if: meta.type() == 'select' && !('options' in document.createElement('datalist')) -->
|
|
|
|
|
- <select data-bind="options: meta.options(), optionsText: 'text', optionsValue:'value', value: value, attr: { placeholder: meta.placeholder() || '${ _ko('Variable value') }' }, event: { 'keydown': $parent.onKeydownInVariable }"/>
|
|
|
|
|
- <!-- /ko -->
|
|
|
|
|
- <!-- ko if: meta.type() == 'select' && 'options' in document.createElement('datalist') -->
|
|
|
|
|
- <input list="input-medium" type="text" data-bind="datalist: { options: meta.options(), optionsText: 'text', optionsValue: 'value', value: value }, valueUpdate: 'afterkeydown', autogrowInput: { minWidth: 150, maxWidth: 270, comfortZone: 15 }, attr: { placeholder: meta.placeholder() || '${ _ko('Variable value') }' }, event: { 'keydown': $parent.onKeydownInVariable }" />
|
|
|
|
|
|
|
+ <!-- ko if: meta.type() == 'select' -->
|
|
|
|
|
+ <select data-bind="selectize: meta.options(), optionsText: 'text', optionsValue:'value', value: value, event: { 'keydown': $parent.onKeydownInVariable }"/>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
</div>
|
|
</div>
|
|
|
</li>
|
|
</li>
|