Dynamic Repeater

I need to implement product variants as in this video https://www.youtube.com/watch?v=njdHCpildhE Is it possible with Repeater? I did not find any helpful information in repeater page documentation on how to create dynamic repeater with different default value for each repeater form field. I tried to override some methods on Repeater, but It does not work. Also I used
default()
default()
and
childComponents
childComponents
and nothing worked with me.
Tutorials by Manizha & Ryan
YouTube
How To Add Variants In Shopify 2023 (UPDATED WAY)
How To Add Variants In Shopify 2023 (UPDATED WAY) In this video I show you how you can add variants in Shopify. This is super easy to do and only takes just a few minutes of your time. If this tutorial helped you out please like & commenting down below if this works! Subscribe for more daily videos! See you in the next video! Thank you ! con...
9 Replies
Patricio
Patricioβ€’12mo ago
Well, if you're "repeating" it should be the same! πŸ™‚ I think what look for is a "Builder"
Patricio
Patricioβ€’12mo ago
No description
Patricio
Patricioβ€’12mo ago
it's also an "array" of items, but each item can be of different schema
Ayman Alhattami
Ayman AlhattamiOPβ€’12mo ago
I read the documentation of both repeater and builder fields, and I did not find any way to generate the builder blocks fields based select field when the state changed Is there a way to generate the builder blocks fields based on state changes?
ZedoX
ZedoXβ€’12mo ago
you can pass a closure to ->schema() method on your repeater. in which u can dynamically display fields based on values selected previously
Ayman Alhattami
Ayman AlhattamiOPβ€’12mo ago
Ok, I will try
Dwayne
Dwayneβ€’10mo ago
Hey Ayman, did you make it?
Ayman Alhattami
Ayman AlhattamiOPβ€’9mo ago
No, I used another way
Want results from more Discord servers?
Add your server