Skip to content

Commit 4e132fd

Browse files
author
GuustMetz
committed
chore: removed ParsedInputFilterModel
1 parent 685dd38 commit 4e132fd

2 files changed

Lines changed: 4 additions & 106 deletions

File tree

lib/public/components/Filters/common/filters/ParsedInputFilterModel.js

Lines changed: 0 additions & 102 deletions
This file was deleted.

lib/public/components/Filters/common/filters/textFilter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ import { h } from '/js/src/index.js';
1616
/**
1717
* Returns a text filter component
1818
*
19-
* @param {ParsedInputFilterModel|TextTokensFilterModel} filterInputModel the model of the text filter
19+
* @param {TextTokensFilterModel} textTokensFilterModel the model of the text filter
2020
* @param {Object} attributes the additional attributes to pass to the component, such as id and classes
2121
* @return {Component} the filter component
2222
*/
23-
export const textFilter = (filterInputModel, attributes) => h('input', {
23+
export const textFilter = (textTokensFilterModel, attributes) => h('input', {
2424
...attributes,
2525
type: 'text',
26-
value: filterInputModel.raw,
27-
oninput: (e) => filterInputModel.update(e.target.value),
26+
value: textTokensFilterModel.raw,
27+
oninput: (e) => textTokensFilterModel.update(e.target.value),
2828
}, '');

0 commit comments

Comments
 (0)