filamentphp/filament

Datepicker not working with TextInputColumn

Open

#15.895 aperta il 19 mar 2025

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)PHP (4162 fork)batch import
bughelp wantedmedium priorityunconfirmed

Metriche repository

Star
 (30.736 star)
Metriche merge PR
 (Merge medio 2g 15h) (72 PR mergiate in 30 g)

Descrizione

Package

filament/filament

Package Version

v3.3.4

Laravel Version

v11.44.2

Livewire Version

v3.6.2

PHP Version

PHP 8.3.17

Problem description

Since release 3.2.134 the datepicker in TextInputColumn stopped working when used as TextInputColumn::make('load_date')->type('date'). The datepicker doesn't open.

It is caused by https://github.com/filamentphp/filament/pull/15340, specifically this change, when reverted, the column works fine.

Expected behavior

When user clicks on the calendar icon, a datepicker should open.

Steps to reproduce

  1. add TextInputColumn::make('date')->type('date') to your Filament table
  2. composer require filament/filament:3.2.133 -W
  3. the datepicker opens and inline editing works
  4. composer require filament/filament:3.2.134 -W
  5. the datepicker doesn't open

Reproduction repository (issue will be closed if this is not valid)

https://github.com/jvitasek/app-filament-issue-3.x

Relevant log output

Guida contributor