feat: isMobile-Methode mit Lazy Loading implementiert; Standortinformationen für mobile Browser auf readonly gesetzt.
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user