© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
13 replies
Homd

Is it possible to get the future id of item in repeater?

I have:

Question Model:
- id
- name
- correct_answer -> references id on Question_Answers

Question_Answer Model:
- id
- answer
- question_id


I want to use repeater to create question and its answer in single modal. Is there anyway I could access to-be-created Question_Asnwer and assign in to my Question's correct_answer? What's the best approach here? Thanks!
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

Repeater item id
FilamentFFilament / ❓┊help
2y ago
Get the index of current repeater item
FilamentFFilament / ❓┊help
12mo ago
Get the item id in getRelations
FilamentFFilament / ❓┊help
2y ago
How can I get the ID of the deleted item in a repeater action?
FilamentFFilament / ❓┊help
3y ago