forms: casting

Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
Adrià Arrufat
2026-03-23 15:12:16 +09:00
committed by GitHub
parent 0bbe25ab5e
commit a6e801be59

View File

@@ -210,7 +210,7 @@ fn collectFormFields(
});
},
.select => {
const select = el.is(Element.Html.Select) orelse continue;
const select = el.as(Element.Html.Select);
const options = try collectSelectOptions(node, arena, page);