Fix Handling of fsAttrs in combinedButtonField

This commit is contained in:
Gregor Kleen 2018-12-29 15:13:35 +01:00
parent 5e6de82e1d
commit 48f56a5fe3

View File

@ -265,6 +265,7 @@ combinedButtonField bs FieldSettings{..} = formToAForm $ do
name <- maybe newFormIdent return fsName
(ress, fvs) <- fmap unzip . for bs $ \b -> mopt (buttonField b) ("" { fsId = Just $ fvId <> "__" <> toPathPiece b
, fsName = Just $ name <> "__" <> toPathPiece b
, fsAttrs
}) Nothing
return ( sequenceA ress
, pure FieldView