LaravelPackages.net
Acme Inc.
Toggle sidebar
bbcreation/datetimepicker

Fork of date/time picker component designed to work with Tailwind CSS and Momentjs

228
0
4.17.47
About bbcreation/datetimepicker

bbcreation/datetimepicker is a Laravel package for fork of date/time picker component designed to work with tailwind css and momentjs. It currently has 0 GitHub stars and 228 downloads on Packagist (latest version 4.17.47). Install it with composer require bbcreation/datetimepicker. Discover more Laravel packages by bbcreation or browse all Laravel packages to compare alternatives.

Last updated

Date/Time Picker v4.17.47

Fork to use with Tailwind CSS / Turbolinks / Laravel LiveWire

Use with Turbolinks and Laravel LiveWire:

Script:

<script type="text/javascript">
    function Datepicker() {
        $('#datetimepicker').datetimepicker({
            format: 'YYYY-MM-DD H:mm'
        }).on("dp.change", function (e) {
            @this.set('pay_date', e.date);
        });
    };
    window.addEventListener('turbolinks:load', Datepicker);
</script>

HTML:

<label>
    <div wire:ignore>
        <input  type="text" class="form-input block w-full text-xs" placeholder="{{ __('Pay Date') }}"  id="datetimepicker">
    </div>
</label>

INFO:

Enter the code between and add height so that nothing obstructs:

<div style="position: relative; height: 90vh;></div>

Star History Chart