© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
8 replies
SLINZEN

TextInput default = object?

Hi, I want to set a default value in my Input.

Example:
TextInput::make('')
  ->label('Test')
  ->default('Hi Discord.')
  ->readOnly()
TextInput::make('')
  ->label('Test')
  ->default('Hi Discord.')
  ->readOnly()


But the input value is [object Object]
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

[object Object] shows as default in Repeater->simple(TextInput)
FilamentFFilament / ❓┊help
3y ago
[object Object] shows as default in Repeater->simple(TextInput)
FilamentFFilament / ❓┊help
3y ago
TextInput Default value
FilamentFFilament / ❓┊help
3y ago
TextInput, set default value (from backend)
FilamentFFilament / ❓┊help
2y ago