diff options
author | Joris | 2017-03-26 23:16:28 +0200 |
---|---|---|
committer | Joris | 2017-03-27 00:17:41 +0200 |
commit | 902acfbdbcc1d59941399753e887479e586e2748 (patch) | |
tree | 0ad90ead3f8bdf0ea7c94462d1577c8e188df469 /src/client/LoggedIn/Model.elm | |
parent | 8062f1c9c34e9b25d76b22bd6ba2a1a99666279b (diff) |
Improve form validation
- Trim names
- Income amount accepted from 0
- Validate colors
Diffstat (limited to 'src/client/LoggedIn/Model.elm')
-rw-r--r-- | src/client/LoggedIn/Model.elm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/LoggedIn/Model.elm b/src/client/LoggedIn/Model.elm index 6bcb0b2..6c858a6 100644 --- a/src/client/LoggedIn/Model.elm +++ b/src/client/LoggedIn/Model.elm @@ -13,13 +13,9 @@ import Model.Category exposing (Categories) import Model.PaymentCategory exposing (PaymentCategories) import LoggedIn.Home.Model as Home -import LoggedIn.Income.Model as Income -import LoggedIn.Category.Model as Categories type alias Model = { home : Home.Model - , income : Income.Model - , category : Categories.Model , users : Users , me : UserId , payments : Payments @@ -31,8 +27,6 @@ type alias Model = init : Init -> Model init initData = { home = Home.init - , income = Income.init - , category = Categories.init , users = initData.users , me = initData.me , payments = initData.payments |