Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormRequest doesn't handle input elements without type attribute #1596

Closed
kmike opened this issue Nov 12, 2015 · 1 comment
Closed

FormRequest doesn't handle input elements without type attribute #1596

kmike opened this issue Nov 12, 2015 · 1 comment

Comments

@kmike
Copy link
Member

@kmike kmike commented Nov 12, 2015

When <input> element has no type attribute browsers use default input type ('text'). See https://html.spec.whatwg.org/multipage/forms.html#attr-input-type:

The missing value default is the Text state.

FormRequest doesn't submit such fields at all. Likely adding or not(@type) somewhere to xpaths can fix it.

@kmike
Copy link
Member Author

@kmike kmike commented Dec 4, 2015

Fixed by #1597 - thanks @Digenis!

@kmike kmike closed this Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant