Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 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 12 years ago by Timmy Willison

Resolution: fixed
Status: newclosed

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 12 years ago by Timmy Willison

Milestone: 1.next1.6.1

comment:3 Changed 12 years ago by Timmy Willison

Component: unfiledattributes
Priority: undecidedhigh
Note: See TracTickets for help on using tickets.