You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Date fields within a Collection field, the following RuntimeError takes place in the Admin Panel:
Variable "user" does not exist.
The line causing the error is vendor/bolt/core/templates/_partials/fields/date.html.twig (line 33)
My field definition is:
price_list:
type: collection
fields:
start_date:
type: date
label: Start Date
required: true
end_date:
type: date
label: End Date
required: true
price:
type: text
required: true
Details
Question
Answer
Relevant Bolt Version
4.0.0-rc.25
Install type
Composer install
PHP version
7.3.17
The text was updated successfully, but these errors were encountered:
Thanks @I-Valchev! I didn't know it was such a simple fix. I'm keeping my eye on solutions so that I get to know the architecture more and can contribute.
fantastic! if you spot something else and want to fix it, but feel a bit uncertain, let me know on Slack I'd happily provide pointers :-) and then the PR will be in your name 😉
When using Date fields within a Collection field, the following RuntimeError takes place in the Admin Panel:
Variable "user" does not exist.
The line causing the error is
vendor/bolt/core/templates/_partials/fields/date.html.twig (line 33)
My field definition is:
Details
The text was updated successfully, but these errors were encountered: