4 Replies
Are you using a custom form to render the field?
@leandro_ferreira im just adding the input in the widget
this the code
<x-filament-widgets::widget>
<x-filament::section>
{{-- Widget content --}}
{{-- {{$this->form->fill()}} --}}
<div class="mb-3">
<label class="inline-block text-sm font-medium cursor-pointer text-gray-800 dark:text-gray-400 mb-2">Range Calendar</label>
<input type="text" id="range-datepicker" class="form-input font-normal rounded block w-full border-gray-200 text-sm focus:border-gray-300 focus:ring-0 bg-transparent dark:border-gray-700 dark:text-gray-400" placeholder="2018-10-03 to 2018-10-10">
</div>
</x-filament::section>
</x-filament-widgets::widget>
dosnt work but when i add it to the dashboard its work
@leandro_ferreira thanks i will try it