Fix Handling of fsAttrs in combinedButtonField
This commit is contained in:
parent
5e6de82e1d
commit
48f56a5fe3
@ -265,6 +265,7 @@ combinedButtonField bs FieldSettings{..} = formToAForm $ do
|
|||||||
name <- maybe newFormIdent return fsName
|
name <- maybe newFormIdent return fsName
|
||||||
(ress, fvs) <- fmap unzip . for bs $ \b -> mopt (buttonField b) ("" { fsId = Just $ fvId <> "__" <> toPathPiece b
|
(ress, fvs) <- fmap unzip . for bs $ \b -> mopt (buttonField b) ("" { fsId = Just $ fvId <> "__" <> toPathPiece b
|
||||||
, fsName = Just $ name <> "__" <> toPathPiece b
|
, fsName = Just $ name <> "__" <> toPathPiece b
|
||||||
|
, fsAttrs
|
||||||
}) Nothing
|
}) Nothing
|
||||||
return ( sequenceA ress
|
return ( sequenceA ress
|
||||||
, pure FieldView
|
, pure FieldView
|
||||||
|
|||||||
Reference in New Issue
Block a user