My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 27: Disabled inputs should not be usable
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by dsboul...@gmail.com, Sep 9, 2010
What steps will reproduce the problem?
1. Create an input (like radio button) with a disabled attribute
2. Try to tap on it

What is the expected output? What do you see instead?
Browser should not let it be selected, should not activate change event, etc.

What version of the product are you using? On what operating system?
3.5.1, iOS4

Please provide any additional information below.
Here's the 1-line-fix we added near where the fake click even is being dispatched:

      if(target.nodeName.toUpperCase() != "INPUT" || typeof(target.attributes["DISABLED"]) == "undefined") {
			  target.dispatchEvent(ev);
      }


Powered by Google Project Hosting