Module

ActionButtonGroup

Renders a Buttongroup depending on the formactions

Props

Name Type Default value Required? Description
service Object - Yes The service whose formactions need to be rendered
saveButton Boolean - Yes Should a save Button be rendered
save function - Yes Function to be executed when the saveButton is pressed
doing Array.<Boolean> - Yes An array of booleans indicating which actions are currently running and waiting for a response
selected function - Yes A function that is executed when a button is pressed with the index of the pressed button as argument
stacked Boolean - Yes should the buttons be stacked