Merge branch 'master' into 'live'

Fix Handling of fsAttrs in combinedButtonField

See merge request !124
This commit is contained in:
Gregor Kleen 2018-12-29 16:08:07 +01:00
commit 5a898c3303

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