activeadmin_dynamic_fields icon indicating copy to clipboard operation
activeadmin_dynamic_fields copied to clipboard

Refactor actions' arguments

Open blocknotes opened this issue 2 years ago • 0 comments

⚠️ Breaking changes ⚠️

  • actions arguments now must be placed in args key
    • example data: { if: "checked", then: "addClass", args: "red", target: "#something" }
  • callbacks functions now must be placed in callback key, optionally with arguments in args key
    • example data: { if: "checked", then: "callback", callback: "setTitle", args: "Some title" }

blocknotes avatar Mar 10 '22 08:03 blocknotes