buono
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user