updated libs, fixed transaction form

This commit is contained in:
gltron committed 2024-04-20 21:06:25 +02:00
1 parent 35930d188c
commit 6a9da33283
8 files changed
+70 -68

No files matched your search

@@ -37,8 +37,11 @@ class _TransactionDateInput extends StatelessWidget {
builder: (context, state) => SizedBox(
width: 500,
child: TextFormField(
initialValue: DateFormat('dd-MM-yyyy', 'fr_FR').format(state.transactionDate.value ?? DateTime.now()),
keyboardType: TextInputType.datetime,
readOnly: true,
controller: TextEditingController(
text: DateFormat('dd-MM-yyyy', 'fr_FR').format(state.transactionDate.value ?? DateTime.now()),
),
onTap: () {
FocusScope.of(context).requestFocus(FocusNode());
showDatePicker(