speed-admin
1.2.03
1.2.03
  • Speed Admin
  • Features
  • Change logs
  • Quick Start (Tutorial)
    • About this tutorial
    • Brands CRUD
    • Categories CRUD
    • Products CRUD
    • Orders CRUD
  • Miscellaneous
    • How to change "Speed Admin" title and other information
    • How to add controller
    • How to add routes
    • How to add Modules/Applications
    • How to add translatable fields to forms
    • How to override model and add / remove form fields or grid columns
    • Settings Management
    • How to add custom actions
    • How to use multi-tenant feature
  • Fields
    • div
    • text
    • image
    • checkbox
    • belongsTo
    • belongsToMany
    • datetime
    • textarea
    • repeater
    • html
    • select
    • Custom Field
Powered by GitBook
On this page
  1. Fields

checkbox

$this->addFormItem([
    'id' => 'is_active',
    'parent_id' => 'right-col',
    'type' => 'checkbox',
    'label' => __('Active'),
    'name' => 'is_active',
]);
PreviousimageNextbelongsTo

Last updated 3 years ago