Skip to content

input is CheckboxInputElement returns true for inputs #22967

@DartBot

Description

@DartBot

This issue was originally filed by Jan.Mos...@gmail.com


What steps will reproduce the problem?
Create HTML page with input fields and checkbox, if you get a list of input elements and do (input is CheckboxInputElement), it returns true for all input elements.

What is the expected output? What do you see instead?

I'm expecting it to return false for normal input and true for CheckboxInputElement

What version of the product are you using?

Dart 1.8.5

On what operating system?

OSX 10+

What browser (if applicable)?

Dartium

Please provide any additional information below.

See my stackoverflow post:
https://stackoverflow.com/questions/29225791/how-to-check-if-inputelement-is-a-checkbox-in-dart/29225906

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-obsoleteClosed as the reported issue is no longer relevantlibrary-htmltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions