[elm-discuss] Re: How to insert an object into a list from a form

2016-10-11 Thread Wouter In t Velt
Op dinsdag 11 oktober 2016 09:45:57 UTC+2 schreef Did: > > Thanks for your reply! Is there a better way to do this or this is a > common solution in elm? > Well, this is the best way I can think of :) But seriously, as soon as your app grows, some functions in this setup may become big and

[elm-discuss] Re: How to insert an object into a list from a form

2016-10-10 Thread Wouter In t Velt
Op maandag 10 oktober 2016 14:58:56 UTC+2 schreef Ambrose Laing: > > I would modify the model to also contain a name, description and price, at > the top level. These are uncommitted values. By uncommitted I mean that > it should be possible to change any one of these without changing the >

[elm-discuss] Re: How to insert an object into a list from a form

2016-10-10 Thread Ambrose Laing
I would modify the model to also contain a name, description and price, at the top level. These are uncommitted values. By uncommitted I mean that it should be possible to change any one of these without changing the others, and yet your master list of all the items will not change because