Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Blocks
  2. Crud Page
  3. Usage

CRUD page

Usage

Use CrudPage for an admin list: users, agencies, templates. Pass the records, the columns, and the copy for empty and no-results. Turn on create or edit with form, delete with delete, and the record drawer with detail. When a parent owns the page title and breadcrumb, such as SettingsPage in subpage mode, compose CrudPageRecordsBody in that host's sections instead of nesting CrudPage. Create stays in the filter bar; the table fills the host width (for example the settings 640px content column). A full-viewport task that hides the shell is not this page. Use Dialog for a short edit, or TakeoverDialog when the task must own the viewport. The filter bar is optional. When you pass filters, the page can hold filtersValue or leave the value uncontrolled.
Previous
Forms / Accessibility
Next
Crud Page / API and Development