Giter VIP home page Giter VIP logo

Comments (13)

jfc-ddev avatar jfc-ddev commented on August 11, 2024 2

Yes, I did it but the bug is persistent

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024 2

I figure it out. This is some specific behaviour for Spanish keyboard. It ignores preventDefault for some reason. Even numeric value check doesn't work. Not sure it will be fixed, at least for now.

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024 1

Yes, I did. It didn't help as I remember.

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024

Are you sure you updated the version? I checked that button as well. Open the docs and try there. As I see everything works as expected.

from ngx-mat-timepicker.

jfc-ddev avatar jfc-ddev commented on August 11, 2024

Yes, I have version 17.4.1 installed. I'm trying in the dial mode of the documentation, and it lets me enter chars 🤯

(https://dhutaryan.github.io/ngx-mat-timepicker/#/usage)

image

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024

How do you do it? Maybe cache? Because I can't enter anything else except number.

from ngx-mat-timepicker.

jfc-ddev avatar jfc-ddev commented on August 11, 2024

image

I hold down the shift key + one of the following keys [ ] } { -

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024

I've tried a lot of combinations on mac and windows and couldn't reproduce it. Did you clean browser cache?

from ngx-mat-timepicker.

jfc-ddev avatar jfc-ddev commented on August 11, 2024

Did you try using a regular expression to allow only numbers and then using a preventDefault?

from ngx-mat-timepicker.

jfc-ddev avatar jfc-ddev commented on August 11, 2024

Hi

Do you have any news?

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024

Nope. I believe the most important is that you cannot apply non-numbers. The fact you can enter into the fields some tricky value that will be replaced on blur is not a big deal.

from ngx-mat-timepicker.

jfc-ddev avatar jfc-ddev commented on August 11, 2024

Hi

Do you have any news?

from ngx-mat-timepicker.

dhutaryan avatar dhutaryan commented on August 11, 2024

@jfc-ddev nope. Now the exact value is checking and it doesn't work even in this case. There is a magic with Spanish keyboard. Not sure it will be fixed someday.
Anyway, as I said before, the most important that invalid value will be changed to valid after blur.

from ngx-mat-timepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.