Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9123 closed bug (fixed)

Strange behavior of attr method when generate input element.

Reported by: Soul_Master Owned by:
Priority: high Milestone: 1.6.1
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:


I try to set attr of input element by using boolean type. But the result is very strange for me.


Change History (3)

comment:1 Changed 5 years ago by timmywil

  • Resolution set to fixed
  • Status changed from new to closed

Construct boolHook and rboolean regex to deal with boolean attributes. Fixes #9129. Fixes #9123.

  • Construct regex for all attributes which are boolean attributes by specification.

+ This allows us to do what users expect with enumerated attributes and allows us to no longer complicate the issue.

+ People are just too confused with passing "true" instead of true when they should, so we won't have to worry about that anymore.

comment:2 Changed 5 years ago by timmywil

  • Milestone changed from 1.next to 1.6.1

comment:3 Changed 5 years ago by timmywil

  • Component changed from unfiled to attributes
  • Priority changed from undecided to high
Note: See TracTickets for help on using tickets.