bland-coat-6833
04/21/2022, 4:00 PMbreezy-salesclerk-70879
04/21/2022, 4:33 PM/my-module/?from=yyyy-mm-dd&to=yyyy-mm-dd. 2 questions
1. When the page /my-module/?from=yyyy-mm-dd&to=yyyy-mm-dd loads, there are multiple elements that issue get requests with an hx-trigger="load". My problem is that those do not include the from, to query parameters from the url, and adding hx-params="from,to" doesn't work. What am I doing wrong?
2. When I trigger a date range picker form submission, I'd like many components to listen to that change, but they make requests to different urls, so I cannot group them into one. In my usecase I'd like the components of the page to listen to url query changes, how do you do that with htmx / can you do that?breezy-salesclerk-70879
04/21/2022, 4:35 PMbreezy-salesclerk-70879
04/21/2022, 5:10 PMhx-include the form element + alpine value binding did the trick.hundreds-camera-24900
04/21/2022, 5:12 PMhundreds-camera-24900
04/21/2022, 5:12 PMhundreds-camera-24900
04/21/2022, 5:17 PMmysterious-toddler-20573
04/21/2022, 5:17 PMhundreds-camera-24900
04/21/2022, 5:18 PMhundreds-camera-24900
04/21/2022, 5:18 PMpolite-judge-3724
04/21/2022, 8:09 PMhundreds-camera-24900
04/21/2022, 8:39 PMhundreds-camera-24900
04/21/2022, 8:39 PMhundreds-camera-24900
04/21/2022, 8:40 PMhundreds-camera-24900
04/21/2022, 8:41 PMhundreds-camera-24900
04/21/2022, 8:57 PMhundreds-camera-24900
04/21/2022, 8:57 PMpolite-judge-3724
04/22/2022, 1:55 AMhundreds-camera-24900
04/22/2022, 2:22 AMhundreds-camera-24900
04/22/2022, 2:22 AMhundreds-camera-24900
04/22/2022, 2:24 AMhundreds-camera-24900
04/22/2022, 2:24 AMsome-diamond-25050
04/22/2022, 10:40 AMadorable-autumn-58755
04/22/2022, 5:45 PMmost-jelly-15242
04/22/2022, 6:00 PMadorable-autumn-58755
04/22/2022, 6:23 PMproud-librarian-99598
04/22/2022, 9:53 PMgorgeous-ghost-95789
04/22/2022, 9:56 PMgorgeous-ghost-95789
04/22/2022, 9:56 PMhundreds-camera-24900
04/22/2022, 10:03 PM