© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Emaz

Hydration or scope issue in repeater?

So I have a pretty complex but interesting use case, I'll try to explain. And I'm not a Discord pro so apologies if I don't post the code snippet properly.

This is a pricing/estimate application. The cost of a type of glass is obtained from a selector, you can see that in Glass rate.

What I really want is a repeater so the user can use this glass in multiple panels - entering a width and height for each panel. This is a US case so we enter inches, and calculate the price based on square feet as (width*height)/144 times the glass rate.

For debugging purposes I have one panel outside of the repeater. THAT one works - I can enter a width and height and my cost shows up.

in the Repeater the same thing does not work. Through debugging I can see that the $get(glass_rate) is always zero. It feels like a scope problem that I don't understand.

How can I accomplish this?

Not sure if I should attach screenshots, code or video, so I can also use some Discord advice on best practices here.

Here is the screenshot of the App at least...
Screenshot_2023-08-11_at_10.29.04_AM.png
Screenshot_2023-08-11_at_10.33.28_AM.png
Solution
https://filamentphp.com/docs/3.x/forms/fields/repeater#using-get-to-access-parent-field-values
Repeater - Form Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

$get() scope for Repeater actions
FilamentFFilament / ❓┊help
10mo ago
Repeater issue
FilamentFFilament / ❓┊help
2y ago
Get current item position in repeater or uuid in repeater mutateRelationshipDataBeforeCreateUsing
FilamentFFilament / ❓┊help
17mo ago
Builder or Repeater?
FilamentFFilament / ❓┊help
3y ago