{{-- Custom date picker input --}} {{-- Required settings: --}} {{-- isDateRangePicker: defaults to false --}} {{-- id: string or array of input IDs --}} {{-- Optional settings: --}} {{-- label --}} {{-- name: string or array of input names --}} {{-- placeholder: string or array of placeholders --}} {{-- value: string or array of values --}} {{-- conatainerId --}} {{-- containerExtraClass --}} {{-- callback: function executed after date has been selected --}} @php if (!empty($id) && gettype($id) !== 'array') { $id = [$id]; } if (!empty($name) && gettype($name) !== 'array') { $name = [$name]; } if (!empty($placeholder) && gettype($placeholder) !== 'array') { $placeholder = [$placeholder]; } if (!empty($value) && gettype($value) !== 'array') { $value = [$value]; } @endphp