frontend/.pnpm-store/v3/files/f3/7beda201bb5c831ab9d22473324a479f9e6815c22ab71262146fd9cd350968e653770597a8ce88b1cae97427084e7984bd171b65321a5aee1ce05a40a4dc60

42 lines
808 B
Plaintext

<script>export let handler;
export let filterBy = null;
let value = '';
</script>
<th>
<input
type="text"
placeholder="{handler.i18n.filter}"
spellcheck="false"
bind:value
on:input={() => handler.filter(value, filterBy)}
/>
</th>
<style>
th {
border-bottom: 1px solid #e0e0e0;
}
input {
margin: -1px 0 0 0;
padding: 0;
width: 100%;
height: 24px;
border: none;
text-align: center;
background:inherit;
outline: none;
font-size: 14px;
}
input::placeholder {
color: #bdbdbd;
font-style: italic;
font-size: 13px;
}
input:focus{
outline: none;
border: none;
}
</style>