slight change on add tim survei to add relation with caleg

This commit is contained in:
kicap
2023-11-04 03:53:41 +08:00
parent 85be29e7ce
commit 283f793d29
15 changed files with 262 additions and 78 deletions

View File

@ -63,6 +63,8 @@ class HalamanAreaViewModel extends CustomBaseViewModel {
var response = await httpService.postWithFormData('area', formData);
log.i(response.data);
await getData();
// reset form
namaAreaController.clear();
return true;
} catch (e) {
log.e(e);