Closed chatch closed 8 months ago
ah , yes reverting to the previous date format has fixed it ... i noticed an error in the console and the data-values date needs to be in a format that new Date accepts("29 October 2023" is fine, "29/10/2023" is not ...):
}).format(new Date(this.modelValue)) : ""
asside, the prefill wasn't previously working just because i wasn't putting the field in data-readonly-fields. correcting that and now everything works fine...
I have a page that uses the embed for signing a document. There are 5 fields on the form including 1 signature field, 1 date field and 3 text fields. I'm setting fields to readonly with
data-readonly-fields="name,email,contract id,signed date"
and prefilling values withdata-values
properties.The date field does not show on the embedded form however it can be seen in the final PDF downloaded after signing... The other fields are fine and can be seen on both.
Any idea what might be happening here?
this issue is happening in the current hosted version.
Possibly related I just changed the date format to
dd/mm/yyyy
where i previously hadd MMMM yyyy
(eg. 29 October 2023) ... i changed it to match the popup in the UI that requests the date from the user (when not prefilling and setting to readonly) as it appears that's the date format docuseal is wanting ..?