Solution-locale / solutionlocale.ca

Répertoire de ressources locales en contexte de distanciation sociale
https://solutionlocale.ca
14 stars 9 forks source link

Force uppercase on postal code when creating a Place #53

Open poliquinp opened 4 years ago

poliquinp commented 4 years ago

https://solutionlocale.ca/places/ajout

When creating a Place, we should force uppercase on the postal code field. It would make the data render under the same structure.

jpmurray commented 4 years ago

Note: but we probably should normalize it in controller rather than validation not to annoy users. Would also need a command on the side to normalize old entries.

jpmurray commented 4 years ago

It's possible to normalize data since yesterday, but it's a paid service. Said service makes postal code upper case, if anything! :)