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

bug: 4.6.x, use dot inside number type ion-input empty this input #18864

Closed
JPegue opened this issue Jul 23, 2019 · 8 comments
Closed

bug: 4.6.x, use dot inside number type ion-input empty this input #18864

JPegue opened this issue Jul 23, 2019 · 8 comments
Labels
ionitron: needs reproduction a code reproduction is needed from the issue author

Comments

@JPegue
Copy link

JPegue commented Jul 23, 2019

Bug Report

Ionic version:

[x] 4.6.x

Current behavior:

When i use dot inside number type ion-input this input is empty.
ex: I can't enter "32.5" inside ion-input.

Expected behavior:

Enter "32.5" without clear input. it works with @ionic/angular 4.5.0

Steps to reproduce:

  1. create new ionic project
  2. add ion-input type number inside home.page.html

https://github.com/JPegue/ion-input-number-example

Related code:

<ion-input id="real-number" type="number"></ion-input>

c16DsbfXwJ

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.2.3 (C:\Users\jerom\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.6.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v10.16.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.9.0
   OS     : Windows 10

@ionitron-bot ionitron-bot bot added the triage label Jul 23, 2019
@brandyscarney
Copy link
Member

Thanks for the issue! Is there a specific browser or device this occurs on? I can't reproduce it with the sample project on Chrome or Safari.

@brandyscarney brandyscarney added the needs: reply the issue needs a response from the user label Jul 23, 2019
@ionitron-bot ionitron-bot bot removed the triage label Jul 23, 2019
@JPegue
Copy link
Author

JPegue commented Jul 23, 2019

I used chrome 75.0.3770.142 on windows and chrome 75.0.3770.143 on android device

another demo
2019-07-24_14-14-48

@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Jul 23, 2019
@PowerMogli
Copy link

We have the same problem. Dot clears the input. We are using ionic 4 with Angular 8.

@StefanoGroenland
Copy link

Same issue with Ionic v4 and Angular 7.2.15

@BoveFabio
Copy link

We experience the same issue in Safari (Version 13.1.2 (15609.3.5.1.3)) with @ionic/react 5.2.3.

@brandyscarney
Copy link
Member

brandyscarney commented Aug 18, 2020

I am still unable to reproduce this issue. I've tried using the project attached in the original issue, a new Ionic Angular (v5.3.1) project and a new Ionic React (v5.3.1) project. Tested across multiple browsers including Chrome and Firefox on Windows.

The only way it was reproduced was by double tapping the period on an Android device, but that doesn't appear to happen in the attached gif.

Edit: I was also able to reproduce this on iOS by double tapping the period using the example repository in the issue, but I was unable to reproduce it when using a new Ionic Angular or Ionic React starter.

If anyone is still running into this please attach a sample project with exact steps to reproduce, including which browser/device. Thank you!

@brandyscarney brandyscarney added the ionitron: needs reproduction a code reproduction is needed from the issue author label Aug 18, 2020
@ionitron-bot
Copy link

ionitron-bot bot commented Aug 18, 2020

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please provide a reproduction with the minimum amount of code required to reproduce the issue. Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

For a guide on how to create a good reproduction, see our Contributing Guide.

@ionitron-bot ionitron-bot bot removed the triage label Aug 18, 2020
@liamdebeasi
Copy link
Contributor

Thanks for the issue! This issue is being closed due to the lack of a code reproduction. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Thank you for using Ionic!

@ionic-team ionic-team locked and limited conversation to collaborators Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: needs reproduction a code reproduction is needed from the issue author
Projects
None yet
Development

No branches or pull requests

6 participants