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

Android Mobile Firefox weight entry fails #192

Closed
PolarFox opened this issue Sep 22, 2015 · 5 comments
Closed

Android Mobile Firefox weight entry fails #192

PolarFox opened this issue Sep 22, 2015 · 5 comments
Milestone

Comments

@PolarFox
Copy link

Adding weight entry fails because date selector resets to empty for some reason. Locale is finnish.

@rolandgeider
Copy link
Member

Thanks for the report, will investigate once my computer is repaired.

@rolandgeider rolandgeider added this to the 1.7 milestone Sep 22, 2015
@rolandgeider
Copy link
Member

@PolarFox I'm trying to reproduce this, what happens exactly, does the date simply disappear when you try to save the form?

@PolarFox
Copy link
Author

It disappears, when date field is blurred.

----- Alkuperäinen viesti -----
Lähettäjä: "Roland Geider" notifications@github.com
Lähetetty: ‎26.‎9.‎2015 20:40
Vastaanottaja: "rolandgeider/wger" wger@noreply.github.com
Kopio: "PolarFox" polarfox@polarfox.net
Aihe: Re: [wger] Android Mobile Firefox weight entry fails (#192)

@PolarFox I'm trying to reproduce this, what happens exactly, does the date simply disappear when you try to save the form?

Reply to this email directly or view it on GitHub.

@rolandgeider
Copy link
Member

Also, bootstrap's and chrome's datepickers both open at the same time. I'm tending towards just removing our own datepicker and relying on the browser providing one, plus providing sensible default (I suppose django can take care of the different date formats if we just give it a python date object)

rolandgeider added a commit that referenced this issue Sep 28, 2015
The datepicker was interfering with the browser's built-in ones. Fields with a
date get an initial date of today (were useful) and django takes care or
formatting it according to the current locale.

Fixes #192
@rolandgeider
Copy link
Member

I've removed the datepicker, this seems to take care of the problem. Will update wger.de (and with it, the mobile app) in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants