-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When the user clicks into the input field and focuses out for the first time, the error border/outline does not appear. It only shows up after the second time the user focuses out of the input.
Screen.Recording.2025-12-05.at.10.26.46.AM.mov
Expected Behavior
When the user clicks into the input field and then focuses out (blur event) for the first time, the input should immediately display the error border/outline if the value is invalid or empty.
Screen.Recording.2025-12-05.at.10.31.11.AM.mov
Steps to Reproduce
- Clone the project below
- Run
npm installto install dependencies - Run
npx nx serve tripcardto run the project - Open the application in http://localhost:4200
- Then you could be able to reproduce the issue like acted in the video, in current behaviour section.
Code Reproduction URL
https://github.com/Av1nag/ionic-input-untouched-issue
Ionic Info
Note: I got info by making these steps
cd apps/tripcard
npx ionic infoIonic:
Ionic CLI : 5.4.16 (/Users/gaddamsampathreddy/.npm/_npx/864a9e3c2cd0cf50/node_modules/ionic)
Ionic Framework : @ionic/angular 8.7.11 (/Users/gaddamsampathreddy/oaks/ionic-input-untouched-issue/node_modules/@ionic/angular)
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : 20.2.2 (/Users/gaddamsampathreddy/oaks/ionic-input-untouched-issue/node_modules/@angular-devkit/schematics)
@angular/cli : 20.2.2 (/Users/gaddamsampathreddy/oaks/ionic-input-untouched-issue/node_modules/@angular/cli)
@ionic/angular-toolkit : not installed
Capacitor:
Capacitor CLI : 7.4.4
@capacitor/core : 7.4.4 (/Users/gaddamsampathreddy/oaks/ionic-input-untouched-issue/node_modules/@capacitor/core)
Utility:
cordova-res : not installed
native-run : 2.0.1
System:
NodeJS : v22.21.1 (/Users/gaddamsampathreddy/.nvm/versions/node/v22.21.1/bin/node)
npm : 10.9.4
OS : macOS Unknown
Additional Information
This is not a typical ionic project which could be created using ionic cli. We've created this project using NX workspaces. And, I've no idea if that is driving the issue.