Closed DVDAndroid closed 1 year ago
Indeed, thx
maybe a setRowsPerPage
method is missing. This would allow the event to be handled automatically.
In the meantime I added on:change
in select element :
<select bind:value={$rowsPerPage} on:change={() => handler.setPage(1)}>
{#each options as option}
<option value={option}>
{option}
</option>
{/each}
</select>
Possible fixes or workarounds:
triggerChange
to manually change page to the first one