TALL-forms
  • TALL-forms
  • Installation
    • Quickstart: Artisan cmd
    • Manual installation
      • Package
      • Translations
      • Css & Theme
      • Javascript
      • Tailwind
      • Laravel Mix
      • Wrapper view
      • Laravel Jetstream/Breeze
  • Upgrade v7 to v8
    • Configuration changes
    • Component & Field changes
    • Blade view changes
    • Notification changes
    • Styling changes
  • Concept
    • Configuration
    • Validation
    • Styling
    • Icons
    • Javascript
    • Layout vs Wrapper
    • Model binding
    • Manually saving data
    • Extend Blade Components
  • Create Forms
    • Form Data
    • Form Types
      • Standard form
      • As modal
      • Without buttons
      • Fields only
      • Headless
    • Form attributes
    • Form buttons
    • Form slots
    • Form methods
    • Lifecycle hooks
    • Render a form
    • Mass generate
  • Fields
    • Declaration
    • Labels
    • Field Slots
    • Field methods
    • Custom field attributes
    • Conditional field
    • Custom view
    • Custom field
    • Custom Livewire component
    • Relations
    • Fields
      • Checkbox
      • Checkboxes
      • FileUpload
      • Honeypot
      • ImageCropper
      • Input
      • Password
      • InputArray
      • KeyVal (array)
      • Radio
      • Range
      • Repeater (array)
      • Search
      • Select & Multiselect
      • Tags
      • TagsSearch
      • Textarea
      • Trix
      • SpatieTags
    • Sponsor Fields
      • More Inputs
      • CKEditor
      • DatePicker
      • Heading
      • Markdown
      • Panels
      • SearchList
      • SelectOptGroup
      • Tabs
      • Trix, file-uploads
  • Blade components
    • Notifications
    • Label wrapper
    • Button
    • Modal blade component
    • Modal form blade component
  • Examples
    • Input examples
    • Array fields example
Powered by GitBook
On this page
  • There are different types of form components
  • Various ways to create Form Components
  • Manually creating forms

Was this helpful?

  1. Create Forms

Form Types

PreviousForm DataNextStandard form

Last updated 3 years ago

Was this helpful?

There are different types of form components

  • requires an Eloquent Model

  • , requires an Eloquent Model

  • , requires an Eloquent Model

  • , does not require an Eloquent Model

  • , is not a form type, but a way to use the fields in any Livewire blade view. Does not require an Eloquent Model

Various ways to create Form Components

  • : the artisan command, generate form

  • : auto generate forms, for all models, WITH fields

Manually creating forms

Extend the TallFormComponent

use Tanthammar\TallForms\TallFormComponent;

class SomeComponent extends TallFormComponent
{
    //
}

Or, add the TallForm trait

use Tanthammar\TallForms\TallForm;
use Livewire\Component;

class SomeComponent extends Component
{
  use TallForm;
}

Standard
As modal
Without buttons
Fields only
Headless
Single form
Mass generate