kerkness
kerkness
TCTwill CMS
Created by kerkness on 10/19/2023 in #👊support
Admin api requests blocked for mixed-content
Thanks @ifox. That seems to have done the trick. I've never had to do anything with TrustProxies before so appreciate the tip.
We were messing around with our load balancer monitoring and health reporting earlier in the week so maybe something changed in how it's balancing the load.
4 replies
TCTwill CMS
Created by kerkness on 5/19/2023 in #👊support
DatePicker not updating or incorrectly updating field
I managed to do some further testing. There appears to be a few bugs with the VUE component for DatePicker .
If you use withoutTime(true) the component allows you to select a new date however that date is not sent with the payload when the module is saved/updated.
The option time24h when set to false (default) displays the wrong day when time is 00:00:00 The option is also documented as time24Hr(true) and uses the variable $time24Hr inside DatePicker and TimePicker however the actual method to set this option is public function time24h leading to some confusion. Either the documentation needs updated or the option. I can submit a bug report
14 replies
TCTwill CMS
Created by kerkness on 5/19/2023 in #👊support
DatePicker not updating or incorrectly updating field
I need to do more testing and dive into the twill code to see what is going wrong but it's a long weekend here in Canada. I can't see anything else from my setup/usage that would be messing things up.
14 replies
TCTwill CMS
Created by kerkness on 5/19/2023 in #👊support
DatePicker not updating or incorrectly updating field
Hi @ifox.dev I didn't know it was deprecated but had only added $dates as that was mentioned in the twill docs. Regardless without $dates the field still behaves the same. With further testing both issues I'm seeing appear perhaps unrelated.
1) The vue component for the field does not submit field changes unless enter key hit. I don't really use vue as my experience is with react, but it would appear that the field component is not updating the form state with the onblur event. 2) When a date change is submitted the backend is saving the previous day. This is likely because I'm using withoutTime(true) and the backend is adding a time before saving the date and perhaps locale timezone is messing things up somehow.
14 replies