Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touchedState #37

Open
pgg opened this issue Feb 28, 2024 · 1 comment
Open

touchedState #37

pgg opened this issue Feb 28, 2024 · 1 comment

Comments

@pgg
Copy link

pgg commented Feb 28, 2024

likely more an ionic issue, but touchedState stays UNTOUCHED in latest ionic 7 ion-input after input interaction, works fine when normal html input is used . . .

  form = createFormGroup({
    field: createFormField('', {
      validators: [Validators.required()],
    }),
  });
      <ion-input
        label="field"
        labelPlacement="stacked"
        ngModel
        [formField]="form.controls.field"
      />
form state:
{
  "state": "VALID", 
  "dirtyState": "DIRTY", 
  "touchedState": "UNTOUCHED", 
  "valid": true
}
@timdeschryver
Copy link
Owner

Sorry I don't have experience with ionic.
I suppose it's something on that end since "normal" HTML inputs work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants