Hi,
I cannot get the onInput callbacks to be working.
This is my code:
<script>
import SveltyPicker from 'svelty-picker';
let myDate = '2021-11-11 14:35';
</script>
<SveltyPicker manualInput={true} onInput={() => {console.log('onInput')}} inputClasses="form-control" format="yyyy-mm-dd hh:ii" bind:value={myDate}></SveltyPicker>
You can try out here: https://svelte.dev/playground/98fd362aad6049f4b38606820baff0b0?version=5.39.4
I never see anything logged to the console. The same happens within my project.
Am I misunderstanding something? Or is this just not working? I found these event callbacks props documented here: https://svelty-picker.vercel.app/properties#event-callback-props
Thanks!
Felix
Hi,
I cannot get the onInput callbacks to be working.
This is my code:
You can try out here: https://svelte.dev/playground/98fd362aad6049f4b38606820baff0b0?version=5.39.4
I never see anything logged to the console. The same happens within my project.
Am I misunderstanding something? Or is this just not working? I found these event callbacks props documented here: https://svelty-picker.vercel.app/properties#event-callback-props
Thanks!
Felix