BUG: Special Chars in Business Type
This commit is contained in:
parent
18e8217ce1
commit
081e7d5533
3 changed files with 15 additions and 2 deletions
|
|
@ -359,7 +359,8 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
|
|||
requiredText: true,
|
||||
hintText: "Business Type",
|
||||
validator: (value) {
|
||||
return MihValidationServices().isEmpty(value);
|
||||
return MihValidationServices()
|
||||
.validateNoSpecialChars(value);
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
|
|
|
|||
|
|
@ -387,7 +387,8 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||
requiredText: true,
|
||||
hintText: "Business Type",
|
||||
validator: (value) {
|
||||
return MihValidationServices().isEmpty(value);
|
||||
return MihValidationServices()
|
||||
.validateNoSpecialChars(value);
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue