DatePicker Exception

I'm getting an unexpected error while using a pretty simple DatePicker in my sidebar form. Undefined variable $formFieldsValue (View: /app/vendor/area17/twill/views/partials/form/_date_picker.blade.php) In my form:
<x-twill::date-picker
name="sale_starts_at"
label="Sale Starts"
:translated="true"
/>
<x-twill::date-picker
name="sale_starts_at"
label="Sale Starts"
:translated="true"
/>
The fields exist and are in $fillable and in the $translatedAttributes . Not sure what I'm doing wrong here.
2 Replies
ifox
ifox11mo ago
Hi @daniel the date-picker component doesn't work with translated at the moment. Does your sale starts date actually need to differ depending on language?
daniel
danielOP11mo ago
Technically it would be more region-based than strictly language-based, but that seemed like the simplest way to get it started. I guess I'll have to look into doing it with a relation somehow
Want results from more Discord servers?
Add your server