[*] Installieren von Flatpickr < /code>: < /p>
Code: Select all
npm install flatpickr
[*] Inside /resources/js/app.js Ich habe:
Code: Select all
import flatpickr from "flatpickr";
window.flatpickr = flatpickr;
Code: Select all
@livewireScripts
@powerGridScripts
@stack('js')
< pre class = "Lang-js PrettyPrint-Override">
Code: Select all
flatpickr("#test", {
mode: "range"
});
Code: Select all
@if($modalNotificationCreateVisible)
@livewire('create-notification-form')
@endif
@push('js')
@endpush
Code: Select all
< /code>
< /li>
< /ol>
Der Effekt ist nicht vorhanden. Wenn ich auf diese Eingabe