@@ -247,6 +247,14 @@ instance InitialAttributes (ElementConfig er t m) where
247247 {-# INLINABLE initialAttributes #-}
248248 initialAttributes = elementConfig_initialAttributes
249249
250+instance InitialAttributes (InputElementConfig er t m) where
251+ {-# INLINABLE initialAttributes #-}
252+ initialAttributes = inputElementConfig_elementConfig . elementConfig_initialAttributes
253+
254+instance InitialAttributes (TextAreaElementConfig er t m) where
255+ {-# INLINABLE initialAttributes #-}
256+ initialAttributes = textAreaElementConfig_elementConfig . elementConfig_initialAttributes
257+
250258class ModifyAttributes t a | a -> t where
251259 modifyAttributes :: Lens' a (Event t (Map AttributeName (Maybe Text)))
252260
@@ -254,6 +262,14 @@ instance ModifyAttributes t (ElementConfig er t m) where
254262 {-# INLINABLE modifyAttributes #-}
255263 modifyAttributes = elementConfig_modifyAttributes
256264
265+instance ModifyAttributes t (InputElementConfig er t m) where
266+ {-# INLINABLE modifyAttributes #-}
267+ modifyAttributes = inputElementConfig_elementConfig . elementConfig_modifyAttributes
268+
269+instance ModifyAttributes t (TextAreaElementConfig er t m) where
270+ {-# INLINABLE modifyAttributes #-}
271+ modifyAttributes = textAreaElementConfig_elementConfig . elementConfig_modifyAttributes
272+
257273instance ModifyAttributes t (RawElementConfig er t m) where
258274 {-# INLINABLE modifyAttributes #-}
259275 modifyAttributes = rawElementConfig_modifyAttributes