I am experiencing an issue with resetting the selection in an ods-select
element that is used in my visualization.
<div class="grid">
<div class="shared-width-ods-selects">
<div ods-facet-results="reglist"
ods-facet-results-facet-name="name"
ods-facet-results-context="myctx0"
ods-facet-results-sort="alphanum">
<ods-select ng-init="myctx0.parametersr'refine.name'] = =]"
options="reglist"
selected-values="myctx0.parametersr'refine.name']"
multiple="false"
label-modifier="name"
value-modifier="name"
placeholder="Pflegeheime auswählen">
</ods-select>
</div>
</div>
<div ng-if="myctx0.parameterse'refine.name'].length > 0">
<button ng-click="myctx0.parameterse'refine.name'] = ]">
Auswahl löschen
<i class="fa fa-times-circle" aria-hidden="true"></i>
</button>
</div>
</div>
Issue: The button puts makes the filter empty, but the values are still visible in the chart
I want the chart to be empty again, when i press the button - but i dont know how.
Can you please help me with that?
Best regards, Boris
Auto-translation 🪄
Je rencontre un problème lors de la réinitialisation de la sélection dans un élément ods-select utilisé dans ma visualisation.