mysterious-toddler-20573
06/21/2022, 1:54 PMmysterious-toddler-20573
06/21/2022, 1:54 PMancient-father-3063
06/21/2022, 1:54 PMmysterious-toddler-20573
06/21/2022, 1:54 PMancient-father-3063
06/21/2022, 1:56 PMancient-father-3063
06/21/2022, 1:56 PMancient-father-3063
06/21/2022, 2:17 PMancient-father-3063
06/21/2022, 2:18 PMpy
<div class="form-group" hx-trigger="change" hx-get="getrequesttest">
{{league_form.mtgFormat.label_tag}}
{{league_form.mtgFormat}}
</div>ancient-father-3063
06/21/2022, 2:51 PMancient-father-3063
06/21/2022, 2:52 PMancient-father-3063
06/21/2022, 2:53 PMhtml
<div class="form-group" hx-get="/listofdecks/" hx-target="#listofdecks" hx-trigger="change" id="???">
<label for="id_mtgFormat">MtgFormat:</label>
<select id="id_mtgFormat" name="mtgFormat" required="">
<option value="">---------</option>
<option selected="" value="1">Legacy</option>ancient-father-3063
06/21/2022, 2:54 PMtall-dinner-62086
06/21/2022, 3:08 PMhx-include="id_mtgFormat"tall-dinner-62086
06/21/2022, 3:08 PM#id_mtgFormat? I'm never quite sure which fields want just an ID and which fields accept a css selectorancient-father-3063
06/21/2022, 3:09 PMancient-father-3063
06/21/2022, 3:10 PMancient-father-3063
06/21/2022, 3:10 PMripe-action-67367
06/21/2022, 3:16 PMhttps://example.com/resource?oob=fragment,param1:value1,param2:value2 (format not final). I imagine that you would also have separate handlers that can process these parameters and get required data. Would need some custom parsing logic as well, but nothing exceptional it seems. I'm gonna look into how it could be implemented just out of pure curiositybrainy-ice-92385
06/21/2022, 3:36 PMtall-dinner-62086
06/21/2022, 3:39 PMgreat-midnight-35149
06/21/2022, 7:27 PMafterSettle only trigger if there is a swap made?great-midnight-35149
06/21/2022, 7:28 PMhx-swap=none, should I just use afterRequest (assuming it succeeds)?mysterious-toddler-20573
06/21/2022, 7:47 PMgorgeous-airport-54386
06/21/2022, 9:15 PMfamous-minister-66327
06/21/2022, 9:24 PMHX-Refresh header behavior by setting a hx- attribute in HTML?bland-coat-6833
06/22/2022, 9:27 AMNo emails yet. Now if I get a new email, I get the new mail added as a row, but I still have the original no emails row showing. Can anyone think of a nice way to remove the final row? At the moment, I'm thinking of using a little bit of hyperscript I'm wondering whether there's a cleaner pattern.tall-dinner-62086
06/22/2022, 9:28 AMtall-dinner-62086
06/22/2022, 9:29 AMbland-coat-6833
06/22/2022, 9:36 AMid on the row if it's there and then init remove #theID with hyperscript when a new row appears.some-diamond-25050
06/22/2022, 11:34 AM