Comments (4)
Hi @themisir thanks for this amazing extension.
I just downloaded the form_validator extension in my project but it breaks as soon as I open the page that contains the form saying
ArgumentError (Invalid argument (locale): Form validation locale is not yet supported.: "ja")
I'm trying to implement the Japanese language + validation and I found this Stack Overflow issue that is highlighting where the problem might lay.
https://stackoverflow.com/questions/62540699/flutter-internationalization-for-japanese-failed
Thanks again for your extension.
My flutter doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.64.1)
[✓] Connected device (2 available)
from form-validator.
Hey @rikyscara , language code for Japanese is jp
in form_validator. Is it supposed to be ja or jp? If it's wrong let me know I can change it.
from form-validator.
Thanks a bunch for your prompt reply @themisir, I guess Flutter's default language code for Japanese language is ja. If you could change it it would be awesome 👍
from form-validator.
Hey @themisir is a new minor version with the merged fix planned to release any time soon? Thanks again
from form-validator.
Related Issues (20)
- Adding new rules with custom i18n error message HOT 5
- Splitting required into notBlank and notNull HOT 1
- email validator pass 'test@test ' HOT 1
- url method documentation typo HOT 1
- Adding null safety? HOT 3
- Required not working
- Is there any way to get validation as bool? HOT 4
- PatternValidator's pattern param should be type of `String` rather than `Pattern`, which is ambiguous HOT 1
- Leverage validators package instead of writing our own regexp HOT 4
- Add isEmpty on required string HOT 2
- using `required()` on an `optional` field does nothing
- Always required HOT 1
- Double can be null but less then some double value in TextFormField. HOT 1
- Passing `ValidationBuilder()` to validator has this error HOT 3
- Add a method to add locale to the supported list (instead of using the globalLocale HOT 1
- Passing the data in the text editing controller to the validation builder custom extension HOT 2
- Number input validator
- Add DropdownButtonFormField Support HOT 1
- How to add a prefix? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from form-validator.