Skip to content
Snippets Groups Projects
Commit abf196c6 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix bug with clear function in location-select

parent ab7a1fd3
No related branches found
No related tags found
No related merge requests found
Pipeline #13783 passed
...@@ -69,6 +69,7 @@ export class LocationSelect extends ScopedElementsMixin(LitElement) { ...@@ -69,6 +69,7 @@ export class LocationSelect extends ScopedElementsMixin(LitElement) {
clear() { clear() {
this.object = null; this.object = null;
$(this).attr("data-object", ""); $(this).attr("data-object", "");
$(this).attr("value", "");
$(this).data("object", null); $(this).data("object", null);
this.$select.val(null).trigger('change').trigger('select2:unselect'); this.$select.val(null).trigger('change').trigger('select2:unselect');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment