PricingBlog

[Solve] logic repeater item

  • firdaus___-1203656186017349654

    Mr

    1 year ago

    hye, i want to make something like, when i click add more, new input form will appear and list can go on & on evrytime i click add more..

    Thanks in advance
    1203656186440720384-Screenshot_2024-02-04_185714.png
  • firdaus___-1203661903906340925

    Mr

    1 year ago

    The best option i have right now each input will have 3 variables

    1. Show/hide each input

    2. Show/hide each add more button

    3. Variable to hold input value
  • andreasmoller-1203679892236013588

    Andreas Møller

    1 year ago

    In This case I would use an array instead and repeat the input for each item in the array
  • I can send you a loom tonight
  • firdaus___-1203682039484915752

    Mr

    1 year ago

    Thank you andreas yes thats good
  • lucasg-1203742451479740537

    Lucas G

    1 year ago

    Yes, make the input a component then repeat it over an array.
  • The add more button appends a new item to the array
  • Always interested in an Andreas video though
  • firdaus___-1203771524922876044

    Mr

    1 year ago

    i see.. new terms for me i will try to do this.. and yes alway intrested in adreas video 😀
  • firdaus___-1204008082045407262

    Mr

    1 year ago

    solve it, i do exactly this thanks
  • [Solve] logic repeater item
  • andreasmoller-1204009000916488212

    Andreas Møller

    1 year ago

    Great. Sorry I didn't get around to posting a video 🙂
  • firdaus___-1204009214687576095

    Mr

    1 year ago

    No worries i watch this video to understand array https://m.youtube.com/watch?v=8gOxQhhVohA&t=542s&pp=ygUJdG9kZGxlZGV2
  • firdaus___-1204030379472715858

    Mr

    1 year ago

    beside im messed up anyway
  • lucasg-1204118601565741056

    Lucas G

    1 year ago

    1204118601406222446-image.png
  • Something like this would add a new empty input
  • The components should also likely have their own variables, then they pass the data back up as needed
  • lucasg-1204118897075163258

    Lucas G

    1 year ago

    Hope that helps ^
  • firdaus___-1204124146745745448

    Mr

    1 year ago

    Thats help, i have fully function labeling system
    1204124146506928148-IMG_20240205_234354_724.png
  • lucasg-1204124318846427207

    Lucas G

    1 year ago

    Looks great!
    👍1
  • stockton_f-1204148122092044359

    Stockton

    1 year ago

    Lookin' sweet! Love seeing you app come together 💪
  • rscott-1204190609091600425

    Bishop

    1 year ago

    Really nice.
  • firdaus___-1204345521418805248

    Mr

    1 year ago

    Thanks to toddle community, most my app just assamble from community here
  • firdaus___-1204345552016379904

    Mr

    1 year ago

    Thanks