pve-manager/www/manager6/form/ACMEAccountSelector.js
Thomas Lamprecht f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00

23 lines
453 B
JavaScript

Ext.define('PVE.form.ACMEAccountSelector', {
extend: 'Ext.form.field.ComboBox',
alias: 'widget.pveACMEAccountSelector',
displayField: 'name',
valueField: 'name',
store: {
model: 'pve-acme-accounts',
autoLoad: true,
},
triggerAction: 'all',
queryMode: 'local',
allowBlank: false,
editable: false,
forceSelection: true,
isEmpty: function() {
return this.getStore().getData().length === 0;
},
});