joshluongo/filament-abn-acn

Australian Business Number and Australian Company Number inputs for Filament

v1.0.0 2023-05-01 03:08 UTC

This package is auto-updated.

Last update: 2024-05-30 01:06:10 UTC


README

Australian Business Number and Australian Company Number inputs for Filament.

The fields will have the correct label, input masking and input validation automatically.

Usage

With your form schema use AbnInput or AcnInput.

public static function form(Form $form): Form
{
    return $form
        ->schema([
            AbnInput::make("abn"),
            AcnInput::make("acn")
        ]);
}

Credits

License

The MIT License (MIT). Please see License File for more information.