Rearrange Horde blocks

This commit is contained in:
Cohee1207
2023-06-28 15:48:12 +03:00
parent 4ad328029e
commit a1eb2b794e
2 changed files with 13 additions and 3 deletions

View File

@ -271,6 +271,14 @@ jQuery(function () {
placeholder: 'Select Horde models',
allowClear: true,
closeOnSelect: false,
templateSelection: function(data) {
// Customize the pillbox text by shortening the full text
return data.id;
},
templateResult: function(data) {
// Return the full text for the dropdown
return data.text;
},
});
}
})