Skip to content
Snippets Groups Projects
Commit c60e85f8 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Implement clear() method

parent 44381de6
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,10 @@ class PersonSelect extends VPULitElementJQuery {
};
}
clear() {
this.$select.val(null).trigger('change').trigger('select2:unselect');
}
connectedCallback() {
super.connectedCallback();
const that = this;
......
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