haterapps / fake-data

Fake Data - A form filler you won't hate
39 stars 2 forks source link

City field is being generated with undefined #10

Closed hebertpaziam closed 2 years ago

hebertpaziam commented 2 years ago

I'm using the extension for chrome on windows. The browser's locale is pt-BR.

When I try to generate a city, the value comes with a person name concatenated with undefined, like Ricardoundefined or undefined Muriloundefined

hebertpaziam commented 2 years ago

a suggestion I give is to develop an algorithm adapting part of the material from this repository:

https://github.com/felipefdl/cidades-estados-brasil-json/blob/master/Cidades.json

haterapps commented 2 years ago

Hello,

Thank you for letting me know. I will look into this and come back with an update once it's fixed as soon as possible.

Fake Data uses by default the generated data from faker.js library, which seems to suffer from the same problem with the pt-BR language.

Also, not that much related to this, but if you need real city + address + zip code combinations for Brazil, Fake Data Ultra subscription can generate that.

haterapps commented 2 years ago

Hello,

The last update of Fake Data (v. 3.11.0) should fix this issue. It's already available for Chrome and Firefox. Please let me know if it works as expected now.

Thanks!