© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
roombroom

Debounce / Lazy on Markdown Field not working

I've created a markdown field with the following settings:

Forms\Components\Markdown::make('question')
  ->default('Question?')
  ->reactive()
  ->lazy()
  ->afterStateupdated(function ($state) {
      Debugbar::log($state);
  }),
Forms\Components\Markdown::make('question')
  ->default('Question?')
  ->reactive()
  ->lazy()
  ->afterStateupdated(function ($state) {
      Debugbar::log($state);
  }),


The
lazy()
lazy()
option does not appear to have any effect and causes the field to become basically unusable since it updates constantly while you're typing.

However, if I switch this field to be a standard TextArea field like this:
Forms\Components\Textarea::make('question')
  ->default('Question?')
  ->reactive()
  ->lazy()
  ->afterStateupdated(function ($state) {
      Debugbar::log($state);
  }),
Forms\Components\Textarea::make('question')
  ->default('Question?')
  ->reactive()
  ->lazy()
  ->afterStateupdated(function ($state) {
      Debugbar::log($state);
  }),


The
lazy()
lazy()
option works as expected and the field isn't updated until the field loses focus.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament v2 - Color picker lazy/debounce
FilamentFFilament / ❓┊help
2y ago
Select field not working
FilamentFFilament / ❓┊help
2y ago
Debounce on searchable() columns
FilamentFFilament / ❓┊help
3y ago
->directory() is not working on SpatieMediaLibraryFileUpload field
FilamentFFilament / ❓┊help
2y ago