Skip to content

Conversation

lrowe
Copy link
Contributor

@lrowe lrowe commented Oct 29, 2013

When a ReactDOMComponent is created with the property disabled: true subsequently setting the property to disabled: false the HTML attribute disabled="true" was being left in the DOM.

Example: http://jsfiddle.net/kb3gN/409/

…ed] selectors.

When a ReactDOMComponent is created with the property `disabled: true` subsequently setting the property to `disabled: false` the HTML attribute `disabled="true"` was being left in the DOM.
@zpao
Copy link
Member

zpao commented Oct 29, 2013

Nice! I did a minimal test to make sure it still works with <input>s (where the attribute actually has meaning) - http://jsfiddle.net/zpao/HF4mV/. But we should be making sure we still work with CSS selectors like this (which actually seems like a great way to test this whole module...)

@zpao zpao merged commit 280eff4 into facebook:master Oct 29, 2013
@zpao zpao mentioned this pull request Oct 29, 2013
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants