UserRegister: Improve error handling

- Show field errors in line
- Simplify redux usage
This commit is contained in:
nikolark committed 2017-11-05 15:35:24 +01:00
1 parent 34bc0a3e30
commit 9285cdf953
8 files changed
+100 -53

No files matched your search

+8 -4
View File
@@ -1409,6 +1409,10 @@ ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
email-validator@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/email-validator/-/email-validator-1.1.1.tgz#b07f3be7bac1dc099bc43e75f6ae399f552d5a80"
encoding@^0.1.11:
version "0.1.12"
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
@@ -3546,9 +3550,9 @@ react-native-drawer-layout@1.3.2:
dependencies:
react-native-dismiss-keyboard "1.0.0"
"react-native-drawer@git+https://github.com/GeekyAnts/react-native-drawer.git":
"react-native-drawer@https://github.com/GeekyAnts/react-native-drawer":
version "2.3.0"
resolved "git+https://github.com/GeekyAnts/react-native-drawer.git#8d9078516d177c9cb02d2579a6860706d2370d25"
resolved "https://github.com/GeekyAnts/react-native-drawer#8d9078516d177c9cb02d2579a6860706d2370d25"
dependencies:
prop-types "^15.5.8"
tween-functions "^1.0.1"
@@ -3566,9 +3570,9 @@ react-native-htmlview@^0.12.0:
entities "^1.1.1"
htmlparser2-without-node-native "^3.9.0"
"react-native-keyboard-aware-scroll-view@git+https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git":
"react-native-keyboard-aware-scroll-view@https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view":
version "0.2.9"
resolved "git+https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git#f4805f254d6cc8e3329f5fb224944401f66655db"
resolved "https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view#f4805f254d6cc8e3329f5fb224944401f66655db"
dependencies:
create-react-class "^15.6.0"
prop-types "^15.5.10"