Skip to content

Commit

Permalink
Merge pull request #20 from dmipeck/fix-undefined-on-submit
Browse files Browse the repository at this point in the history
Fix undefined error on submission SilverStripe 4.12
  • Loading branch information
nathancox authored Jul 11, 2024
2 parents 9375920 + 4f56959 commit c52965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/dist/js/hasoneautocompletefield.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
onclose: function() {
this.val('');
// this enables you to search for the same thing twice
this.data().autocomplete.term = null;
this.data().uiAutocomplete.term = null;
this.getFieldElement().removeClass('showsearch');
},

Expand Down

0 comments on commit c52965f

Please sign in to comment.