MishkaGervaz.Table.Types.Action.Update (MishkaGervaz v0.0.1-alpha.3)

Copy Markdown View Source

Update action type - renders a button that triggers an Ash update action.

Usage

row_actions do
  action :activate, type: :update, action: :activate
  action :set_master, type: :update, action: {:master_set_master, :set_master}
end

See MishkaGervaz.Table.Types.Action (registry), MishkaGervaz.Table.Behaviours.ActionType, MishkaGervaz.Table.Entities.RowAction, and MishkaGervaz.Table.Entities.BulkAction.