mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 12:07:58 -06:00
added reset Icon for the created at field
This commit is contained in:
@@ -162,7 +162,14 @@ class _DocumentUploadPreparationPageState
|
|||||||
prefixIcon: const Icon(Icons.calendar_month_outlined),
|
prefixIcon: const Icon(Icons.calendar_month_outlined),
|
||||||
labelText:
|
labelText:
|
||||||
S.of(context).documentCreatedPropertyLabel + " *",
|
S.of(context).documentCreatedPropertyLabel + " *",
|
||||||
),
|
suffixIcon: IconButton(
|
||||||
|
icon: const Icon(Icons.close),
|
||||||
|
onPressed: () {
|
||||||
|
_formKey
|
||||||
|
.currentState!.fields[DocumentModel.createdKey]
|
||||||
|
?.didChange(null);
|
||||||
|
},
|
||||||
|
)),
|
||||||
),
|
),
|
||||||
LabelFormField<DocumentType>(
|
LabelFormField<DocumentType>(
|
||||||
notAssignedSelectable: false,
|
notAssignedSelectable: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user