© 2026 Hedgehog Software, LLC

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

How to autofill recordId on TextInput in AttachAction

As the title suggests, undefined array key "recordId."

AttachAction::make()
  ->form(function () {
    return [
      TextInput::make('recordId'),
      SelectTree::make('parent_id')
        ->relationship('parent', 'name', 'parent_id)
    ];
})
AttachAction::make()
  ->form(function () {
    return [
      TextInput::make('recordId'),
      SelectTree::make('parent_id')
        ->relationship('parent', 'name', 'parent_id)
    ];
})
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

Autofill on TextInput
FilamentFFilament / ❓┊help
2y ago
Autofill TextInput based on Select value in FilamentPhp
FilamentFFilament / ❓┊help
16mo ago