diff --git a/packages/ember-input-validation/src/components/prefabs/tpk-validation-mobile.gts b/packages/ember-input-validation/src/components/prefabs/tpk-validation-mobile.gts index c44de01c..bc06f3cb 100644 --- a/packages/ember-input-validation/src/components/prefabs/tpk-validation-mobile.gts +++ b/packages/ember-input-validation/src/components/prefabs/tpk-validation-mobile.gts @@ -99,11 +99,14 @@ export default class TpkValidationMobilePrefabComponent extends BaseValidationCo @action onChangeValueMobile(value: unknown) { - if (!value) return; - this.args.changeset.set( - this.args.validationField, - `${this.selectedPrefix.code}${value}`, - ); + if (!value) { + this.args.changeset.set(this.args.validationField, value); + } else { + this.args.changeset.set( + this.args.validationField, + `${this.selectedPrefix.code}${value}`, + ); + } } @action