Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 3, 2023
1 parent 7e73c35 commit 5545c53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/forms/dist/components/select.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions packages/forms/resources/js/components/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ export default function selectFormComponent({
refreshChoices: async function (config = {}) {
const choices = await this.getChoices(config)

if (! this.select) {
return
}

this.select.clearStore()

this.refreshPlaceholder()
Expand Down

0 comments on commit 5545c53

Please sign in to comment.