-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Date field layout on CP submissions view not using date picker #2157
Comments
Ah interesting. I'm wondering if it is because of using the date/time events to set additional formats e.g.
I'll do some testing. |
Looks like it might be related to the AssetBundle throwing a 404 when viewing the submission backend, when checking the console. https://craftcms.com/knowledge-base/cloud-plugin-development#asset-bundles Craft Cloud which we run our staging and live environment on publishes all asset bundles at build/deploy through the CDN path. There is note here: Publishing one-off or ad-hoc assets at runtime is not supported on Cloud. Not sure if this is happening anywhere? The AssetBundle paths that are throwing a 404: I can't see any 404 errors happening on the front-end interestingly though. The advanced date with Flatpickr is functioning on the front end, only on the CP backend does it appear to be failing due to the AssetBundle 404. |
Comparing the two, there appears to be some slight path variance on the front-end compared to the back-end: Working paths on the front end:
CP submission backend (404):
The differences appear to be:
What do we think, Craft Cloud bug? |
Ah, so yes this is probably related to Craft Cloud and how they handle assets. I'll look into it further. The |
It will be for sure. All of the asset bundles are redirected to the CDN path during the build, interesting that it happens for the CP but not front-end which I guess is the better scenario. Would you like me to raise a support case with Craft Cloud, happy to summarise the findings for further review? |
Yeah might be worthwhile, I'll investigate on my end! |
Thanks Josh, will do and I'll keep you updated. |
Describe the bug
I've noticed this between Formie 1.x and Formie 3. Any date field on the CP submission view is represented as the database date/time string value, without the date picker.
Current field in Formie 1:
(Ignore LastPass it likes to get involved on most fields...)
Current field in Formie 3:
The data is correct, but from a human representation perspective, it would be nice if the submission view used the date picker in the locale set i.e. like Craft does with date fields on entries.
Steps to reproduce
Form settings
N/A
Craft CMS version
5.5.3
Plugin version
3.0.12
Multi-site?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: