mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-28 15:40:04 +00:00
forms: casting
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
@@ -180,7 +180,7 @@ fn collectFormFields(
|
||||
|
||||
switch (el.getTag()) {
|
||||
.input => {
|
||||
const input = el.is(Element.Html.Input) orelse continue;
|
||||
const input = el.as(Element.Html.Input);
|
||||
if (input._input_type == .hidden) continue;
|
||||
if (input._input_type == .submit or input._input_type == .button or input._input_type == .image) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user