feat: isMobile-Methode mit Lazy Loading implementiert; Standortinformationen für mobile Browser auf readonly gesetzt.

This commit is contained in:
Developer 02
2024-07-17 13:22:43 +02:00
parent e44d5f644c
commit 1388b40a6b
2 changed files with 11 additions and 2 deletions

View File

@@ -80,7 +80,7 @@
value: locale_date_dd_mm_yyyy(),
readOnly: true
})
//city
var location = await getLocation();
const id_city = PSPDFKit.generateInstantId()
@@ -103,6 +103,7 @@
name: id_city,
annotationIds: PSPDFKit.Immutable.List([annotation_city.id]),
value: location.city,
readOnly: isMobile()
})
/**