@@ -248,7 +248,7 @@ data InputElement er d t
248248
249249data TextAreaElementConfig er t m
250250 = TextAreaElementConfig { _textAreaElementConfig_initialValue :: Text
251− , _textAreaElementConfig_setValue :: Event t Text
251+ , _textAreaElementConfig_setValue :: Maybe (Event t Text)
252252 , _textAreaElementConfig_elementConfig :: ElementConfig er t m
253253 }
254254
@@ -256,7 +256,7 @@ instance (Reflex t, er ~ EventResult, DomBuilder t m) => Default (TextAreaElemen
256256 {-# INLINABLE def #-}
257257 def = TextAreaElementConfig
258258 { _textAreaElementConfig_initialValue = ""
259− , _textAreaElementConfig_setValue = never
259+ , _textAreaElementConfig_setValue = Nothing
260260 , _textAreaElementConfig_elementConfig = def
261261 }
262262
@@ -312,6 +312,7 @@ concat <$> mapM (uncurry makeLensesWithoutField)
312312 , "_inputElementConfig_setChecked" ], ''InputElementConfig)
313313 , (["_rawElementConfig_modifyAttributes"], ''RawElementConfig)
314314 , (["_elementConfig_modifyAttributes"], ''ElementConfig)
315+ , (["_textAreaElementConfig_setValue"], ''TextAreaElementConfig)
315316 ]
316317
317318-- | This lens is technically illegal. The implementation of 'TextNodeConfig' uses a 'Maybe' under the hood for efficiency reasons. However, always interacting with 'TextNodeConfig' via lenses will always behave correctly, and if you pattern match on it, you should always treat 'Nothing' as 'never'.
@@ -359,9 +360,17 @@ elementConfig_modifyAttributes =
359360 setter t e = t { _elementConfig_modifyAttributes = Just e }
360361 in lens getter setter
361362
363+-- | This lens is technically illegal. The implementation of 'TextAreaElementConfig' uses a 'Maybe' under the hood for efficiency reasons. However, always interacting with 'TextAreaElementConfig' via lenses will always behave correctly, and if you pattern match on it, you should always treat 'Nothing' as 'never'.
364+textAreaElementConfig_setValue :: Reflex t => Lens (TextAreaElementConfig er t m) (TextAreaElementConfig er t m) (Event t Text) (Event t Text)
365+textAreaElementConfig_setValue =
366+ let getter t = case _textAreaElementConfig_setValue t of
367+ Nothing -> never
368+ Just e -> e
369+ setter t e = t { _textAreaElementConfig_setValue = Just e }
370+ in lens getter setter
371+
362372concat <$> mapM makeLenses
363− [ ''TextAreaElementConfig
364− , ''SelectElementConfig
373+ [ ''SelectElementConfig
365374 ]
366375
367376class InitialAttributes a where