Issue with form? #6042
Replies: 2 comments 1 reply
-
Hi @stephenmeehanuk, My guess would be that the Have a look at #2354. <input type="text" name="{{ handle }}" {{ if placeholder }}placeholder="{{ placeholder }}"{{ /if }}{{ if old }}value="{{ old }}"{{ /if }}> Also, Laravel uses the RFC 5424 specification for logging messages.
As you can see, you got a Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Got a bit further with this... On a fresh install this works great, there's no
But, on another install - A site I upgraded to 3.3.11,
this generates an error
Is there a known reason why this is happening? It's worth mentioning, when Both test forms only have a single text field. Both sites running locally on Valet
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Spotted this error in
laravel.log
I figured it's related to a handle called
{{ placeholder }}
, but this handle isn't part of the current view template?The error only appears when there's a form on the page. And it repeats based on the number of fields the form has.
As a test, I created this basic, one field form,
resources/blueprints/forms/test.yaml
I add the form to my view
If remove
{{ form:test }}{{ /form:test }}
the error goes away?It's odd because the error references a handle that's not being used by the view?
As a final test I cleared everything from the
layout
except{{ template_content }}
. Then removed everything from the view, except{{ form:test }}{{ /form:test }}
then I ranphp artisan optimize:clear
, the error still persists?I've tried this on a fresh install and there's no error. I'm running the same version of Statamic
Is there anything else I can try to debug this?
Beta Was this translation helpful? Give feedback.
All reactions