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

    mysterious-toddler-20573

    08/18/2022, 4:07 PM
    is it a bug?
  • m

    mysterious-toddler-20573

    08/18/2022, 4:07 PM
    maybe it's a bug
  • m

    mysterious-toddler-20573

    08/18/2022, 4:07 PM
    maybe changed needs a css selector option
  • b

    blue-ghost-19146

    08/18/2022, 4:07 PM
    I'd say it's maybe a slight oversight... rather than a bug?
  • t

    tall-dinner-62086

    08/18/2022, 4:07 PM
    I'll be honest I didn't even know about
    from:
  • m

    mysterious-toddler-20573

    08/18/2022, 4:07 PM
    keyup changed:#foo from:#foo delay:500ms
  • b

    blue-ghost-19146

    08/18/2022, 4:07 PM
    I sort of assumed that the order of the trigger modifiers list in the docs would be the order they should be applied
  • t

    tall-dinner-62086

    08/18/2022, 4:08 PM
    This was a long time ago and I just couldn't keep up. I'm sorry to have disappointed.
  • m

    mysterious-toddler-20573

    08/18/2022, 4:09 PM
    i can't remember what I had for breakfast
  • t

    tall-dinner-62086

    08/18/2022, 4:09 PM
    Probably eggs and bacon
  • e

    eager-planet-96345

    08/18/2022, 5:07 PM
    hey guyz
  • e

    eager-planet-96345

    08/18/2022, 5:18 PM
    hey guyz
  • e

    eager-planet-96345

    08/18/2022, 5:18 PM
    need help here
  • m

    mysterious-toddler-20573

    08/18/2022, 5:20 PM
    how may we be of assistance?
  • e

    eager-planet-96345

    08/18/2022, 5:25 PM
    im trying to make a sign in form using post method with htmx but when i try to log the request params/ request body the post request doesnt pass in any data/parameters
    Copy code
    <div class="col-md-6 col-xl-5">
                                <button
                                  hx-post="/signin"
                                  hx-params="*"
                                  type="submit"
                                  class="btn w-100 btn-alt-primary"
                                >
                                  <i
                                    class="fa fa-fw fa-sign-in-alt me-1 opacity-50"
                                  ></i>
                                  Sign In
                                </button>
  • e

    eager-planet-96345

    08/18/2022, 5:25 PM
    on the backend the request is empty
  • e

    eager-planet-96345

    08/18/2022, 5:26 PM
    this is just the sign in button i can paste the whole form if that may help
  • t

    tall-dinner-62086

    08/18/2022, 5:27 PM
    Is the button inside the form that has the login inputs?
  • e

    eager-planet-96345

    08/18/2022, 5:27 PM
    yes
  • e

    eager-planet-96345

    08/18/2022, 5:28 PM
    yes
  • t

    tall-dinner-62086

    08/18/2022, 5:28 PM
    wait what's
    hx-params="*"
    supposed to do
  • e

    eager-planet-96345

    08/18/2022, 5:28 PM
    filters the parameters that will be submitted with a request
  • e

    eager-planet-96345

    08/18/2022, 5:28 PM
    * means include everything
  • t

    tall-dinner-62086

    08/18/2022, 5:29 PM
    So it's not doing anything
  • e

    eager-planet-96345

    08/18/2022, 5:29 PM
    not really
  • t

    tall-dinner-62086

    08/18/2022, 5:30 PM
    Sometimes you may think your button is inside the form element, but the browser renders it outside because html is weird. Can you verify through your dev tools that the button is actually in the form?
  • e

    eager-planet-96345

    08/18/2022, 5:31 PM
    what i want to do is read on the backend the passed in input elements as of now im using expressjs so im using req.body / req.params but its empty
  • e

    eager-planet-96345

    08/18/2022, 5:32 PM
    i also tried pasting in default form example on htmx on plain body element
  • e

    eager-planet-96345

    08/18/2022, 5:35 PM
    man i want to go back to using axios
  • e

    eager-planet-96345

    08/18/2022, 5:36 PM
    are there any alternatives
1...783784785...1146Latest