Skip to content

Commit

Permalink
caixas de texto agora tambem sao limpas com o botao limpar filtros
Browse files Browse the repository at this point in the history
  • Loading branch information
fns21 committed Aug 29, 2024
1 parent 919ab27 commit f33626e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/Search/components/search-filter-event/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ app.component('search-filter-event', {
this.pseudoQuery['@to'] = new McDate(new Date(this.date[1])).date('sql');
delete this.pseudoQuery['event:@verified'];
this.pseudoQuery['event:classificacaoEtaria'].length = 0;
this.pseudoQuery['event:term:linguagem'].length = 0;
this.pseudoQuery['event:term:linguagem'].length = 0;
const inputFields = document.querySelectorAll('.mc-multiselect--input');
inputFields.forEach(inputField => {
inputField.value = '';
});
},
dateFormat(date) {
const d0 = new Date(date[0]);
Expand Down

0 comments on commit f33626e

Please sign in to comment.