Skip to content

Commit 8123985

Browse files
committed
Add unique IDs for reset and submit buttons for Search
1 parent 73071ee commit 8123985

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/components/Table/TableContent.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@
385385
id="{tableId}-search"
386386
/><button
387387
type="reset"
388+
id="{tableId}-searchReset"
388389
class="absolute right-3 items-center"
389390
on:click|preventDefault={() => {
390391
searchValue = '';
@@ -395,6 +396,7 @@
395396
</div>
396397
<button
397398
type="submit"
399+
id="{tableId}-searchSubmit"
398400
class="btn variant-filled-primary"
399401
on:click|preventDefault={() => {
400402
$filterValue = searchValue;

0 commit comments

Comments
 (0)