Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Conversation

@mcintyre321
Copy link

...put values, so shouldn't be included in results

#36

… input values, so shouldn't be included in results
@mcintyre321
Copy link
Author

Given a form containing

<input type="hidden" name="x" value="hello" />
<input type="hidden" name="x" value="hello" disabled="disabled" />

form2js will currently return a null value for x - disabled controls should be totally ignored and instead form2js should return {x:"hello"}

@lookfirst
Copy link
Contributor

Nice fix. I checked this into my fork.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants