mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Added possibility to apply filters to search results.
This commit is contained in:
parent
c3f144447f
commit
e96db21ceb
6 changed files with 61 additions and 30 deletions
|
@ -35,6 +35,11 @@ export default class extends Controller {
|
|||
{
|
||||
const form = event.target.closest('form');
|
||||
for(const element of form.elements) {
|
||||
// Do not clear elements with data-no-clear attribute
|
||||
if(element.dataset.noClear) {
|
||||
continue;
|
||||
}
|
||||
|
||||
element.disabled = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue