mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-14 18:58:13 +08:00
16 lines
452 B
HTML
16 lines
452 B
HTML
<script>
|
|
new Choices(el = document.getElementById('{{ id }}'), {
|
|
classNames: {
|
|
containerInner: el.className,
|
|
input: 'form-control',
|
|
inputCloned: 'form-control-sm',
|
|
listDropdown: 'dropdown-menu',
|
|
itemChoice: 'dropdown-item',
|
|
activeState: 'show',
|
|
selectedState: 'active',
|
|
},
|
|
shouldSort: false,
|
|
searchEnabled: false,
|
|
});
|
|
</script>
|