@props([ 'name_start', 'name_end', 'value_start' => '', 'value_end' => '', 'placeholder' => trans('general.select_date'), // 'today' caps both pickers at today, or pass a moment-parseable string. // Null (default) leaves both pickers uncapped. 'max_date' => null, 'format' => 'YYYY-MM-DD', 'id' => null, ]) {{-- Two eonasdan datetimepickers linked so picking a start date sets the end picker's minDate, and picking an end date sets the start picker's maxDate. Replaces the bootstrap-datepicker .input-daterange pattern. Linking is handled in snipeit.js by pairing .js-date-range-start with the .js-date-range-end sibling under the same .js-date-range parent. --}}
merge(['class' => 'row js-date-range']) }} @if ($id) id="{{ $id }}" @endif>