-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Provide full form data when using form tags in Blade #5892
Conversation
form
tag in Blade
form
tag in Bladeform
tag in Blade
form
tag in Blade
Would be very helpful indeed! |
I came across this issue yesterday trying to render form using Blade as well. This would help a lot. |
If anyone needs an interim solution for this I have this helper that I've been using as a workaround: https://gist.github.com/jacksleight/04fdc8c1f8d827313a68261ac94f34fa
|
Great stuff. Any advice on how to render
|
@stuartcusackie You could use |
@jacksleight Perfect! I almost got there on my own... Thanks very much. |
Attempt at a solution to #5534 based on the convention established in #5599.
Covers all form tags:
This:
Will now return this instead of a
<form>
string:Adds new
formAttrs
andformParams
methods which basically do whatformOpen
does but without any of the HTML rendering.formOpen
could probably be refactored to use these as well, to avoid the duplication, but I didn't want to mess around with it. Can take a look at that if you like.