feat: manual register
This commit is contained in:
parent
cbf43f6d00
commit
19c4243273
4 changed files with 282 additions and 4 deletions
|
|
@ -143,9 +143,9 @@ class _OwnerPopupState extends State<OwnerPopup> {
|
|||
onPressed: () {
|
||||
if (_formKey.currentState!.validate()) {
|
||||
_formKey.currentState!.save();
|
||||
widget.viewModel.currentOwner = widget.viewModel
|
||||
.addOwner(firstName!, lastName!, contact!);
|
||||
setState(() {
|
||||
widget.viewModel.currentOwner = widget.viewModel
|
||||
.addOwner(firstName!, lastName!, contact!);
|
||||
showNewOwner = false;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue