© 2026 Hedgehog Software, LLC

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

Set value of key-value field

Is it possible to programmatically set the value of a key-value field? I am trying to use
->afterStateUpdated()
->afterStateUpdated()
to do something like
$set('settings', '{"apiKey": "123"}');
$set('settings', '{"apiKey": "123"}');
after an item is selected from a select field. But nothing happens! The value will populate a simple text-input field, but not a key-value. Is this possible?
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

Update Content of Key-Value Field
FilamentFFilament / ❓┊help
2y ago
Key-value Field with dot in key
FilamentFFilament / ❓┊help
12mo ago
Set value without a field
FilamentFFilament / ❓┊help
2y ago
Set value of another field from within default
FilamentFFilament / ❓┊help
3y ago