Ismailtaktak / freemedforms

Automatically exported from code.google.com/p/freemedforms
Other
0 stars 0 forks source link

ZipCompleters do not use Country/Province #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The ZipCodesCompleters actually just use ZIP and City and complete them vice 
versa.
They do not take the state into account, so if you enter the ZIP (let's say) 
"12345", and it exists in two states there is a database available for and 
active, the completer shows both cities (of both states), and not only the 
selected one in the CountryComboBox.

Task: make ZipCodesCompleter take the state into account.

Original issue reported on code.google.com by christian.a.reiter@gmail.com on 26 Nov 2012 at 10:53

GoogleCodeExporter commented 9 years ago

Original comment by christian.a.reiter@gmail.com on 26 Nov 2012 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by christian.a.reiter@gmail.com on 26 Nov 2012 at 11:09

GoogleCodeExporter commented 9 years ago
Hm. As far as I can see the ZipCodesCompleter uses the coupleExists method 
which checks also the m_countryIso if it's available. This one is set 
automatically per signal/slot every time the corresponding CountryComboBox is 
changed.

So it should already work! Cant test ATM as I have no zip database and can't 
create one because FreeToolBox/GenericZipCodesStep is broken ATM.

Original comment by christian.a.reiter@gmail.com on 30 Nov 2012 at 10:58