Skip to content

Commit

Permalink
[BUG] toggle advanced filter view when adding new rows
Browse files Browse the repository at this point in the history
  • Loading branch information
n3o77 committed Jul 31, 2024
1 parent 1a47f7c commit cafae3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/assets/ts/Manager/FilterManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class FilterManager {
let formCollection = this.filterForm.querySelector('[data-collection="form-collection"]');
// @ts-ignore
jQuery(formCollection).on('unl.row_added', (event: Event, row: Element) => {
this.toggleAdvancedFilter();
this.updateForField(row.querySelector('[name*="[field]"]'));
});

Expand Down

0 comments on commit cafae3e

Please sign in to comment.