fix: Datum als readonly festgelegt.

This commit is contained in:
Developer 02 2024-07-17 11:57:52 +02:00
parent 381de6b554
commit a77a31121f

View File

@ -73,17 +73,17 @@
left: left - width * .25, left: left - width * .25,
}), }),
fontSize: 8, fontSize: 8,
additionalActions: { backgroundColor: PSPDFKit.Color.TRANSPARENT,
onFormat: new PSPDFKit.Actions.JavaScriptAction({ fontColor: PSPDFKit.Color.Black,
script: `AFDate_FormatEx("dd/mm/yyyy")`, isBold: true,
}), required: true
}
}) })
const formFieldDate = new PSPDFKit.FormFields.TextFormField({ const formFieldDate = new PSPDFKit.FormFields.TextFormField({
name: id_date, name: id_date,
annotationIds: PSPDFKit.Immutable.List([annotation_date.id]), annotationIds: PSPDFKit.Immutable.List([annotation_date.id]),
value: locale_date_dd_mm_yyyy() value: locale_date_dd_mm_yyyy(),
readOnly: true
}) })
//post_code //post_code