We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I set options on a datepicker that is already initialized ?
Using Laravel 10, Livewire 3, npm
The text was updated successfully, but these errors were encountered:
The documentation is clear, you just need extra code to enable in livewire 3
page.blade.php
<script data-navigate-once> document.addEventListener('livewire:navigated', () => { const Datepicker = document.getElementById('date'); if (!Datepicker) return; new Datepicker(Datepicker, { format: 'yyyy/mm/dd', buttons: true, // not working autohide: true, title: 'This is a datepicker', }); }); </script>
app.js
import Datepicker from 'flowbite-datepicker/Datepicker'; window.Datepicker = Datepicker; Livewire.start()
Sorry, something went wrong.
No branches or pull requests
How can I set options on a datepicker that is already initialized ?
Using Laravel 10, Livewire 3, npm
The text was updated successfully, but these errors were encountered: