[Snowdrift-dev] A note on Yesod Forms and Widgets

2016-03-15 Thread Bryan Richter
I think there is some confusion about how Widgets are used for Yesod Forms. Yesod Forms (I'll just use capital 'F' when I mean a "Yesod Form") hare pretty fancy. Some might say... TOO fancy. They take care of a lot of things: 1. Defining the Haskell data that comes out of them 2. Defining what

Re: [Snowdrift-dev] A note on Yesod Forms and Widgets

2016-03-15 Thread Bryan Richter
On Tue, Mar 15, 2016 at 09:13:49PM -0700, Aaron Wolf wrote: > > Are you saying that correct use of Yesod Forms will always generate > the html element? I think I may be misunderstanding your question, but I would say the precise opposite is true. Yesod Forms do not generate elements. If a

Re: [Snowdrift-dev] A note on Yesod Forms and Widgets

2016-03-15 Thread Bryan Richter
On Tue, Mar 15, 2016 at 09:23:44PM -0700, Aaron Wolf wrote: > On 03/15/2016 09:20 PM, Bryan Richter wrote: > > On Tue, Mar 15, 2016 at 09:13:49PM -0700, Aaron Wolf wrote: > >> > >> Are you saying that correct use of Yesod Forms will always generate > >> the html element? > > > > I think I may be