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

textarea

$this->addFormItem([
    'id' => 'shipping_address',
    'parent_id' => 'right-col',
    'type' => 'textarea',
    'validation_rules' => [
        'shipping_address' => 'required'
    ],
    'label' => __('Shipping Address'),
    'name' => 'shipping_address'
]);
PreviousdatetimeNextrepeater

Last updated 3 years ago