Skip to content

Form Styling

tanthammar edited this page Sep 27, 2020 · 8 revisions

Component properties related to styling

    public bool $inline = true;
    public string $inlineLabelAlignment;

    public string $labelW;
    public string $fieldW;

bool $inline

Can be overridden in field declaration

true Inline

false

Stacked

string $inlineLabelAlignment

  • A class to align the label in the label column, default is config('tall-forms.component-attributes.inline-label-alignment').

string $labelW

  • A class to align the label in the label column,
  • default is config('tall-forms.component-attributes.label-width').

string $fieldW

  • A class to align the label in the label column,
  • default is config('tall-forms.component-attributes.field-width').

Other styling options = tall-forms config file.

php artisan vendor:publish --tag=form-config
Clone this wiki locally