This commit is contained in:
2026-06-03 12:08:59 +02:00
parent 8ad2b7cf7e
commit a7fd37a894
9 changed files with 589 additions and 166 deletions

View File

@@ -79,7 +79,7 @@ class _OperationFormScreenState extends State<OperationFormScreen> {
_noteController.text = model.note;
}
if (_freeTextSubtypeController.text.isEmpty) {
_freeTextSubtypeController.text = model.subtype ?? '';
_freeTextSubtypeController.text = model.subType ?? '';
}
if (_freeTextDescriptionController.text.isEmpty) {
_freeTextDescriptionController.text = model.description ?? '';
@@ -91,7 +91,7 @@ class _OperationFormScreenState extends State<OperationFormScreen> {
context.read<OperationFormCubit>().updateFields(
reference: _referenceController.text,
note: _noteController.text,
subtype: _freeTextSubtypeController.text,
subType: _freeTextSubtypeController.text,
description: _freeTextDescriptionController.text,
);
}