eager-autumn-92984
02/27/2022, 3:41 PMadamant-exabyte-92636
02/27/2022, 6:10 PMdry-window-71739
02/28/2022, 7:49 PMbrainy-ice-92385
02/28/2022, 8:02 PMdry-window-71739
02/28/2022, 8:22 PMbland-coat-6833
02/28/2022, 9:51 PMhx-get on a table column header that lets me sort a table then is there any scope for htmx to do something fancy like see that the mouse is getting close and fire off the request pre-click and swapping in the response if the user does decide to click?colossal-caravan-9184
02/28/2022, 10:29 PMbright-analyst-51193
02/28/2022, 10:42 PMbright-analyst-51193
02/28/2022, 10:47 PMbright-analyst-51193
02/28/2022, 10:48 PMbright-analyst-51193
02/28/2022, 11:07 PMmysterious-toddler-20573
02/28/2022, 11:22 PMautofocus attribute on the new content: https://www.w3schools.com/tags/att_autofocus.aspbright-analyst-51193
02/28/2022, 11:27 PMmysterious-toddler-20573
02/28/2022, 11:28 PMmysterious-toddler-20573
02/28/2022, 11:28 PMmysterious-toddler-20573
02/28/2022, 11:28 PMsteep-france-23568
03/01/2022, 3:05 AMhtmx:configRequest according to the docs at https://htmx.org/events/#htmx:configRequest "Note that if an input value appears more than once the value in the parameters object will be an array, rather than a single value."
But when I try and set multiple values to the same query param in a loop I just get the last value back. Should I be setting the parameter to an array instead?steep-france-23568
03/01/2022, 3:07 AM<div x-data="{
columns: {},
configureRequestListener(evt) {
for (let [col, filterStr] of Object.entries(this.search)) {
if (filterStr) {
evt.detail.parameters['filter'] = col + '~' + filterStr;
}
}
}
}" x-on:htmx:config-request="configureRequestListener">steep-france-23568
03/01/2022, 3:29 AMmysterious-toddler-20573
03/01/2022, 3:34 AMmysterious-toddler-20573
03/01/2022, 3:34 AMsteep-france-23568
03/01/2022, 3:46 AMbulky-painting-16931
03/01/2022, 9:44 AMmysterious-toddler-20573
03/01/2022, 12:17 PMmysterious-toddler-20573
03/01/2022, 1:05 PMmysterious-toddler-20573
03/01/2022, 1:05 PMfresh-painting-96337
03/01/2022, 5:58 PMhtml
<div hx-get="{{ url_for('pjax.map_pointer') }}" hx-trigger="collapsible:open once from:closest .collapsible"></div>mysterious-toddler-20573
03/01/2022, 6:27 PMfresh-painting-96337
03/01/2022, 7:18 PM