https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • r

    refined-waiter-90422

    07/11/2022, 9:20 PM
    Agreed, digging that combination as well.
  • m

    mysterious-toddler-20573

    07/11/2022, 9:51 PM
    https://twitter.com/htmx_org/status/1546585067463606279
  • m

    mysterious-toddler-20573

    07/11/2022, 9:51 PM
    if anyone here is ever put in charge of the javascript history API, I have some thoughts
  • m

    mysterious-toddler-20573

    07/11/2022, 10:33 PM
    we're back baby
  • w

    white-motorcycle-95262

    07/12/2022, 1:27 AM
    If I want to use HTMX to send a POST to the server in a situation where there's no need to update anything in the DOM, do I just set
    hx-swap="none"
    ?
  • s

    steep-lamp-42308

    07/12/2022, 1:55 AM
    yes, that has worked for me
  • p

    powerful-train-54786

    07/12/2022, 3:28 AM
    This is also needed in cases of oob swaps to different elements so it doesn't replace the target with blank content
  • r

    refined-quill-15894

    07/12/2022, 4:28 AM
    I return a 204 status as outlined here.. https://htmx.org/docs/#requests
  • l

    late-king-98305

    07/12/2022, 2:27 PM
    Sorry... LOL
  • m

    mysterious-toddler-20573

    07/12/2022, 7:14 PM
    https://htmx.org/posts/2022-07-12-htmx-1.8.0-is-released/
  • m

    mysterious-toddler-20573

    07/12/2022, 7:14 PM
    i hope I didn't break anything
  • r

    refined-waiter-90422

    07/12/2022, 7:28 PM
    Awesome set of upgrades.
  • l

    little-journalist-53964

    07/12/2022, 7:33 PM
    boss
  • r

    refined-waiter-90422

    07/12/2022, 7:35 PM
    Thank you for all your hard work @mysterious-toddler-20573 !!!
  • r

    refined-waiter-90422

    07/12/2022, 7:35 PM
    the history API is a nightmare now less of us have to experience
  • r

    refined-waiter-90422

    07/12/2022, 7:35 PM
    1cg died for our sins
  • m

    mysterious-toddler-20573

    07/12/2022, 8:37 PM
    https://twitter.com/htmx_org/status/1546956817254830082
  • m

    mysterious-toddler-20573

    07/12/2022, 8:37 PM
    only true REST gangsters will get this joke
  • a

    adamant-exabyte-92636

    07/12/2022, 8:56 PM
    I wonder if Roy will self-describe his "here are my docs" reaction as RESTing Murder Face
  • m

    mysterious-toddler-20573

    07/12/2022, 9:04 PM
    oof
  • h

    helpful-teacher-63323

    07/12/2022, 9:32 PM
    Hello guys. All my htmx request return a blank page with 2022 in the last element child. I even create a button to a simple function in django, but the result is the same? Can anyone help? Tks in advance
  • h

    helpful-teacher-63323

    07/12/2022, 9:33 PM
    Simple function in the last button
  • h

    helpful-teacher-63323

    07/12/2022, 9:33 PM
    And the result is
  • m

    mysterious-toddler-20573

    07/12/2022, 9:38 PM
    what is the HTML being returned?
  • h

    helpful-teacher-63323

    07/12/2022, 10:22 PM
    in lastElementChild: html.outerHTML
  • m

    mysterious-toddler-20573

    07/12/2022, 10:59 PM
    it looks like it is doing what you are asking it: you are targeting the form and returning just
    2022
    , so it is replacing the inner html with that
  • h

    helpful-teacher-63323

    07/12/2022, 11:42 PM
    tks, but what i am targeting in this button is different, i did not write 2022 anywhere in the code and it happens with all other targets i make. i am sending the source of the this button and the real return when i paste the url in another window.
  • h

    helpful-teacher-63323

    07/12/2022, 11:43 PM
    Adicionar Transação
  • h

    helpful-teacher-63323

    07/12/2022, 11:43 PM
    when i push the button it returns 2022, but typing the endpoint in other window, a ihave:
  • h

    helpful-teacher-63323

    07/12/2022, 11:45 PM
    i tried returning just a httprensponse and it worked, but when i use render function ,it does not. I will try more tomorrow to find out. thanks again
1...742743744...1146Latest