What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Guys .. I have problem.. when twig render tag form delete .. What it can be ?

U024HCR39J7
U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

Guys .. I have problem..

when twig render tag form delete .. What it can be ?

Comments

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    we need more details to be able to help you

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    how does your form type look like, what's in the controller, what's your twig code?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Product Listing Page

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Some of the product dont have this form.. Why I really dont know... Already four hours sit with this bug

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 🧑🏻‍🚀 - Cadet

    is this a widget? where is it included and is there maybe an {% if .. %} around it?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Yes.. That widget .. How you see twig wich render

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Tag form delete .. Why I don`t know ..
    what can do this?

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,079 ⚖️ - Guardians (admin)

    Heyhey, what do you mean with “see twig wich render” ? - What is your problem with the tag form-delete? - when nothing helps you are always welcome to open a support ticket

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    I have problem with shopping-list-widget in Product Listing Page

    In first product my form deleted . And I don`t know why

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,079 ⚖️ - Guardians (admin)

    ok, can you pls describe more “In first product my form deleted” ? I dont understand this

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    That my twig

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    When all twig render tag form only in first product is deleted

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    In second product all is good

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,079 ⚖️ - Guardians (admin)

    So let my try to rephrase it to check if I understand it correctly: You have a shopping-list. And you have 2 or more products. But the first product is not shown on the shoppinglist? Or what exactly is “deleted” ?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    deleted from first product in Product Listing Page

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    But body form is fine rendered

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    looks like triming or something ..

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,079 ⚖️ - Guardians (admin)

    So you are aiming for

    ?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    No

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    that modal form in product

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    That twig.. And in first product-item only tag

    <

    form> deleted .. But what inside

    <

    form> is normal rendered

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Maybe need some define config or something?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    When cash file is work all good .. Form tag render .. What can do later with tag ?

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,079 ⚖️ - Guardians (admin)

    Hey @U024HCR39J7, I am sadly right now short in time to debug by myself to help and it seems to be a tricky case. If it is really blocking you please contact the official Spryker support and create a ticket there.
    I wish you nevertheless a great weekend 🙂

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    Sadly.. Thanks

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    @florian.scholz Even vendor/symfony/http-foundation/Response.php:: sendContent() My form is in the data

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    @florian.scholz Hello.. Problem some where in frontend .. 😃 Php return good content