Closed andrewtpham closed 1 year ago
As a rule of thumb, we would like to add inline data validation for all input field types in hakawati so that when they are used in the FE they can be consistent and follow the same logic.
Here is the documentation from ElementUI: https://element.eleme.io/#/en-US/component/form#validation
validate the fields before clicking the save button so that we are able to catch the no decimal number for this field
Originally posted by @amosnjoroge in https://github.com/hikaya-io/dots-frontend/issues/1484#issuecomment-1140216819
This is related to the h-form refactor and exposing the validation from el-form: https://github.com/hikaya-io/hakawati/issues/311
h-form
el-form
This is a duplicate issue to the #333
As a rule of thumb, we would like to add inline data validation for all input field types in hakawati so that when they are used in the FE they can be consistent and follow the same logic.
Here is the documentation from ElementUI: https://element.eleme.io/#/en-US/component/form#validation
Reference issue from Dots
validate the fields before clicking the save button so that we are able to catch the no decimal number for this field
Originally posted by @amosnjoroge in https://github.com/hikaya-io/dots-frontend/issues/1484#issuecomment-1140216819