Open
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
Starting from v8.6.0, ion-input is not parsing {}
and []
correctly.
Typing {}
gives [object Object]
and []
returns no string as the output.
Expected Behavior
Expectation is that ion-input will allow to enter arrays such as []
, and [abc]
.
It should also allow JSONs such as {}
, and {test: true}
.
Steps to Reproduce
This behavior is supported in v8.5.9 and started breaking in v8.6.0
Code Reproduction URL
https://ionicframework.com/docs/api/input
Ionic Info
Ionic:
Ionic CLI : 5.4.16 (/Users/shbhat/.npm/_npx/864a9e3c2cd0cf50/node_modules/ionic)
Ionic Framework : not installed
@angular-devkit/build-angular : 18.2.14
@angular-devkit/schematics : 18.2.14
@angular/cli : 18.2.14
@ionic/angular-toolkit : 12.1.1
Utility:
cordova-res : not installed
native-run : 2.0.1
System:
NodeJS : v20.18.3 (/Users/shbhat/.asdf/installs/nodejs/20.18.3/bin/node)
npm : 10.8.2
OS : macOS Unknown
Additional Information
No response