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

    mysterious-toddler-20573

    04/27/2023, 3:08 PM
    bozeman
  • m

    mysterious-toddler-20573

    04/27/2023, 3:08 PM
    so, not really Montana, but I can see Montana from here 😉
  • l

    little-state-82457

    04/27/2023, 3:17 PM
    Interesting idea. The options don't change, but they're within the content that does change.
  • h

    hundreds-cartoon-20446

    04/27/2023, 3:17 PM
    So, you could use
    hx-preserve
    ?
  • m

    magnificent-boots-1658

    04/27/2023, 3:18 PM
    My sister lives in BZN. I visit a couple times a year. I want to buy you a beer next time I'm in town.
  • m

    mysterious-toddler-20573

    04/27/2023, 3:23 PM
    roger sounds good
  • m

    magnificent-boots-1658

    04/27/2023, 3:24 PM
    🍻
  • r

    refined-waiter-90422

    04/27/2023, 3:46 PM
    stay on the happy path
  • l

    little-state-82457

    04/27/2023, 3:47 PM
    That worked! Thank you! 👐🏻
  • q

    quick-garage-13170

    04/27/2023, 3:55 PM
    Hello! Am I using HTMX wrong if I am trying to make a button that sends hx-vals to a server and does not swap any part of the page? Because I can't seem to figure out how to do this without HTMX swapping something
  • t

    tall-dinner-62086

    04/27/2023, 3:57 PM
    You could use
    hx-swap="none"
  • t

    tall-dinner-62086

    04/27/2023, 3:57 PM
    But at least swap in a success / error message or something
  • q

    quick-garage-13170

    04/27/2023, 3:58 PM
    I did not realize that hx-swap="none" is a thing... I should have realized that. Thanks!
  • s

    some-holiday-29188

    04/27/2023, 5:18 PM
    hi folks, whats the easiest way of determining cause of "htmx:historyCacheError"/fixing?
  • r

    ripe-action-67367

    04/27/2023, 5:27 PM
    the easiest way it to check
    cause
    field in the event details. This event is raised when saving history to localStorage, so I would assume that something is up with it
  • s

    some-holiday-29188

    04/27/2023, 5:33 PM
    yeah having a bit of trouble capturing that event. even doing something like this isn't working out
    Copy code
    _="on htmx:historyCacheError log 'error'"
  • m

    mysterious-toddler-20573

    04/27/2023, 5:46 PM
    are you doing that on the body?
  • s

    some-holiday-29188

    04/27/2023, 5:47 PM
    changing the event to anything else like htmx:afterSettle or htmx:beforeRequest works but for some reason not triggering on historyCacheError
  • s

    some-holiday-29188

    04/27/2023, 5:47 PM
    i've tried it in a few different spots including the body
  • m

    mysterious-toddler-20573

    04/27/2023, 5:47 PM
    but you are seeing it in the console?
  • s

    some-holiday-29188

    04/27/2023, 5:47 PM
    yep
  • s

    some-holiday-29188

    04/27/2023, 5:48 PM
    feel like im probably missing something simple
  • s

    some-holiday-29188

    04/27/2023, 5:51 PM
    I tried it on the body again for good measure and now it captured it. Just needed you to say that i guess haha
  • m

    mysterious-toddler-20573

    04/27/2023, 5:51 PM
    🙂
  • s

    some-holiday-29188

    04/27/2023, 5:58 PM
    looks like its running up against the local storage limit "QuotaExceededError"
  • s

    shy-knife-59740

    04/27/2023, 7:29 PM
    guys
  • s

    shy-knife-59740

    04/27/2023, 7:29 PM
    # discord has markdown
  • g

    gorgeous-airport-54386

    04/27/2023, 7:30 PM
    [markdown test]: a ---
  • g

    gorgeous-airport-54386

    04/27/2023, 7:30 PM
    a ---
  • s

    shy-knife-59740

    04/27/2023, 7:30 PM
    headings work, lists and styled links
1...110611071108...1146Latest