-
Notifications
You must be signed in to change notification settings - Fork 174
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
Address Field Order - Postcode #833
Comments
Hum, in Europe this is how we format the addresses: https://www.bitboost.com/ref/international-address-formats.html It seems that it's also the case in a lot of various area. The postal code goes before the city :) |
Given such a diversity, the user needs an option to select format. |
@jancborchardt opinion? :) |
This could automatically be sorted based on the region format from the user settings. People shouldn’t need to manually select an additional option. |
@jancborchardt I mean, I don't see myself maintaining a list of every country and the address layout ^^ |
@jancborchardt which "region format from the user settings" are you referring:
Fair point, @skjnldsv! I reckon you could lean on a resource/API from another entity such as Maps or Contacts from Google. Another option would be to allow users to drag & drop fields into the order they prefer within NC, in the Contacts app to create a default. Then there are the suggestions in #309 which appears to be scheduled for v3.1.0. |
Sure, with my remark I just meant that’s the solution we should go for if we do anything about this. The other solution is to leave it as it is.
No, as this would be a lot to implement for a minor issue and would need to be tested to ensure it works. @brianWreaves I am referring to:
Also thanks for referring #309 – this seems to be a duplicate of that. |
That's not a solution at all, that's ignoring the issue.
Certainly has similar aspects to this post but is stating the opposite in that the contact format is labelled as "US-centric" by the poster. In-fact it's European as mentioned above. As well, it goes a bit further than this post with additional suggestions which I would be keen on e.g. Moving PO Box to drop-down selection. |
From @olantrust
|
Could the locale field from the user settings be used to trigger the correct layout? Canada and the USA have the same format and I think most of Europe has a common format. Just a handful of layouts might be required, with a default. |
We do that for other stuff on contacts, so yes, it definitely could. |
We could use a library, I found two:
The first one is completely dead. |
Describe the bug
Within the Address section of each contact, the field order doesn't render the "postcode" field after the "State or Province" but before "Country" field but instead between "Address" and "City" fields (See attached screenshot).
To Reproduce
Simply view a contact with an address entered.
Expected behavior
"Postcode" field should render after "State or province" but before "Country" field.
Actual behavior
"Postcode" field renders between "Address" and "City" fields.
Screenshots
Attached below with annotations.
Operating system: High Sierra & Android
Web server: Apache
Database: MySQL
PHP version: 7.1
Nextcloud version: 14.0.4
Contacts version: 2.1.8
Updated from an older Nextcloud or fresh install: Updated from older
Client configuration
Browser: FF64+
Operating system: High Sierra or Android 8+
CardDAV-clients: High Sierra interface
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: