Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

jqlite returns incorrect value for boolean attributes in some cases #14126

Closed
@Narretz

Description

@Narretz
  • Do you want to request a feature or report a bug?
    bug
  • What is the current behavior?
    jqlite.attr(attrName) returns the lowercase version of attrName if the element has attrName set as a property. See the discussion in 'select' / 'ng-model' / 'ng-options' behaviour changed in 1.4.9 #14115
  • What is the expected behavior?
    jqlite should always return the actual attribute value like jquery does.
  • What is the motivation / use case for changing the behavior?
    mainly consistency with jquery, because this behavior doesn't seem to cause issues outside of tests.
  • Which version of Angular, and which browser and OS does this issue affect? Did this work in previous
    versions of Angular? Please also test with the latest stable and snapshot versions.
    all versions up to 1.5.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions