filamentphp/filament

Datepicker not working with TextInputColumn

Open

#15 895 ouverte le 19 mars 2025

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)PHP (4 162 forks)batch import
bughelp wantedmedium priorityunconfirmed

Métriques du dépôt

Stars
 (30 736 stars)
Métriques de merge PR
 (Merge moyen 2j 15h) (72 PRs mergées en 30 j)

Description

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

Guide contributeur