Lat/Lang dot or comma based?

This topic contains 23 replies, has 2 voices, and was last updated by  Stiofan O’Connor 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #422580

    Dirk
    Full Member
    Post count: 390

    I have seen it, but I don’t think it is a bug and will not interfere with a function. HTML5 is using this just for display. The value will always be dot based.
    To be sure you can use pattern (https://www.w3.org/TR/html5/forms.html#the-pattern-attribute). I think a nice one is looking like this:

    <input type="number" pattern="[0-9]+(\.[0-9]+)?" step="0.01" title="whatever">

    But keep in mind that at the moment in the form “Add Place” you use input type=”text”.

    Best,
    Dirk

    #422601

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have updated all GPS to number and added extra validation and forced it to use decimal display.

    Thanks,

    Stiofan

    #422622

    Dirk
    Full Member
    Post count: 390

    LOL. Okay. Now I have at the default location and in the “Add places” form comma based floats.

    That is fine for me. I can enter comma based or dot based numbers. It is taking both variants.

    #422929

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Are you sure u sure using the updated version?
    If so what browser are u using, i can no longer replicate this.

    Stiofan

    #422935

    Dirk
    Full Member
    Post count: 390

    Yes, I rechecked. I’m on V2.0.0.3 now using Chrome. With Chrome I have comma based one.

    With Edge I see at the default location dot based one (see pic). I cannot check Lat/Lang in Places now as the import killed my Edit Place Routings.

    #422962

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Is your chrome out of date? Chrome removed this feature a few versions ago so it should always be decimal. (i have never been able to replicate it on chrome, only on FireFox)

    Stiofan

    #423089

    Dirk
    Full Member
    Post count: 390

    I guess I’m using an up-to-date chrome and still see this comma based ones. But for me it is not a bug…

    #423092

    Dirk
    Full Member
    Post count: 390

    Also a pic of the Place backend with chrome and german language. BTW, my WP is english.

    #423327

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Strange, i can’t replicate this, and this was supposed to have been removed in chrome, but if it works i’m not going to complain 🙂

    Stiofan

Viewing 9 posts - 16 through 24 (of 24 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket