From abf196c6a198160172bb8fa7e98faca0734b73f0 Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Wed, 28 Oct 2020 17:11:16 +0100 Subject: [PATCH] Fix bug with clear function in location-select --- packages/location-select/src/location-select.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/location-select/src/location-select.js b/packages/location-select/src/location-select.js index e7b70b5e..b0ba579e 100644 --- a/packages/location-select/src/location-select.js +++ b/packages/location-select/src/location-select.js @@ -69,6 +69,7 @@ export class LocationSelect extends ScopedElementsMixin(LitElement) { clear() { this.object = null; $(this).attr("data-object", ""); + $(this).attr("value", ""); $(this).data("object", null); this.$select.val(null).trigger('change').trigger('select2:unselect'); } -- GitLab