mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-28 18:53:05 +08:00
Update select.js
This commit is contained in:
@@ -2267,7 +2267,7 @@ export class Select {
|
||||
// If there are remove buttons in multiple mode, disable them
|
||||
if (this.isMultiple) {
|
||||
const removeButtons = this.container.querySelectorAll(
|
||||
'.fi-select-input-badge-remove',
|
||||
'.fi-badge-delete-btn',
|
||||
)
|
||||
removeButtons.forEach((button) => {
|
||||
button.setAttribute('disabled', 'disabled')
|
||||
@@ -2300,7 +2300,7 @@ export class Select {
|
||||
// If there are remove buttons in multiple mode, enable them
|
||||
if (this.isMultiple) {
|
||||
const removeButtons = this.container.querySelectorAll(
|
||||
'.fi-select-input-badge-remove',
|
||||
'.fi-badge-delete-btn',
|
||||
)
|
||||
removeButtons.forEach((button) => {
|
||||
button.removeAttribute('disabled')
|
||||
|
||||
Reference in New Issue
Block a user