Skip to content

Fixed Exception thrown when passing null $value to Form::submit(), Form::reset(), Form::button() #1056

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

Merged
merged 1 commit into from
Sep 2, 2012
Merged

Fixed Exception thrown when passing null $value to Form::submit(), Form::reset(), Form::button() #1056

merged 1 commit into from
Sep 2, 2012

Conversation

Jakobud
Copy link
Contributor

@Jakobud Jakobud commented Aug 3, 2012

Passing a null $value to Form::submit(), Form::reset() or Form::button() was throwing an Exception. I made the default $value = null for those methods. They result in the following respective valid HTML:

Signed-off-by: Jakobud jake.e.wilson@gmail.com

…n() was throwing an Exception. I made the default $value = null for those methods. They result in the following respective valid HTML: <input type='submit'/> <input type='reset'/> <button></button>

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
taylorotwell added a commit that referenced this pull request Sep 2, 2012
Fixed Exception thrown when passing null $value to Form::submit(), Form::reset(), Form::button()
@taylorotwell taylorotwell merged commit 017c65c into laravel:develop Sep 2, 2012
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