icy-branch-91772
04/26/2023, 4:32 PMhtmx:afterSwap
. But there is something that somehow redraws the form I'm targetting, and I can't figure out what it is. I have tried htmx:afterSettle
but that is also not doing it... Anyone got any ideas?icy-branch-91772
04/26/2023, 4:32 PMjs
$(document).on('htmx:afterSettle', function() {
console.log('called');
if ($('#show-cancel-button').length > 0){
console.log('inside');
$('#cancel-action').removeClass('hide');
$('#cancel-action-button').attr('tooltip', 'Abbrechen');
}
});
bland-coat-6833
04/26/2023, 5:18 PMbland-coat-6833
04/26/2023, 5:19 PMbland-coat-6833
04/26/2023, 5:22 PMdocument.addEventListener
just in case thereβs some issue there? afterSettle was what I was going to suggest so strange itβs not workingicy-branch-91772
04/26/2023, 5:23 PMicy-branch-91772
04/26/2023, 5:23 PMbland-coat-6833
04/26/2023, 5:30 PMthousands-planet-99021
04/26/2023, 8:23 PMform
attribute of submit buttons which essentially allows a submit button to be outside formmysterious-toddler-20573
04/26/2023, 8:28 PMhx-post
etc. is on the form, then yesmysterious-toddler-20573
04/26/2023, 8:36 PMmagnificent-barista-99118
04/26/2023, 10:28 PMbitter-machine-55943
04/27/2023, 1:03 AMmagnificent-barista-99118
04/27/2023, 1:34 AMbitter-machine-55943
04/27/2023, 1:36 AMmagnificent-barista-99118
04/27/2023, 1:41 AMminiature-window-68019
04/27/2023, 1:51 AMmagnificent-barista-99118
04/27/2023, 1:59 AMmagnificent-barista-99118
04/27/2023, 1:59 AMmagnificent-barista-99118
04/27/2023, 2:01 AMmagnificent-barista-99118
04/27/2023, 2:01 AMwitty-iron-33803
04/27/2023, 3:46 AMicy-branch-91772
04/27/2023, 6:48 AMrefined-waiter-90422
04/27/2023, 7:37 AMbigskysoftware/htmx/blob/v1.9.1/attributes
...
should be
bigskysoftware/htmx/blob/v1.9.1/www/content/attributes
...elegant-car-94755
04/27/2023, 10:18 AMimport 'htmx.org';
import './htmx.js';
htmx.js
window.htmx = require('htmx.org');
when i console.log(window.htmx) seems available but not working. Any idea ?~~
https://cdn.discordapp.com/attachments/725789747212976259/1101090028626640956/image.pngβΎ
numerous-agent-22346
04/27/2023, 10:24 AMeuro-amount
which displays a formatted euro amount.
Usage:
<euro-amount amount="1000"></euro-amount>
-> β¬ 1.000
Why I do like it?
From the backend (clojure code):
[:euro-amount {amount: 1000}]
This is a overly simple example, nevertheless you can include sophisticated UI logic either using pure javascript or hyperscript/htmx.
There is only one caveat: if you mount the shadowroot you have to process it with htmx/hyperscript were you using them inside the element.
On the contrary, if you are not using the shadowdom you do not need to process the dom further even if your code lives in a template.
Hope this helps. Write your element once and use it client side or server side, i like itrefined-manchester-67193
04/27/2023, 1:03 PMTiesto
href in the first card.
So this seems like a Safari specific issue, but I'm not sure what could be causing this.
Here's the video: https://www.dropbox.com/s/j55bil8sz8rt5pn/RPReplay_Final1682600210.mov?dl=0
I already have these settings configured:
```
htmx.config.historyCacheSize = 0;
htmx.config.getCacheBusterParam = true;
```~~
Has nothing to do with HTMX.little-state-82457
04/27/2023, 1:15 PM<select>
dropdown that's then replaced by htmx: https://github.com/piepworks/cassettenest-roadmap/issues/312#issue-1670015621 I thought I had fixed it by putting a delay
on it but it's still happening, sometimes even worse than on that little screen capture. Any ideas how I could improve that?magnificent-boots-1658
04/27/2023, 1:49 PMhundreds-cartoon-20446
04/27/2023, 3:06 PM