Form Types

There are different types of form components

  • Standard requires an Eloquent Model

  • As modal, requires an Eloquent Model

  • Without buttons, requires an Eloquent Model

  • Fields only, does not require an Eloquent Model

  • Headless, 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

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;
}

Last updated