marvinosswald/filament-input-select-affix

this input enables you to render a select next to an input in a seamless fashion
147,603 26
Install
composer require marvinosswald/filament-input-select-affix
Latest Version:0.3.0
PHP:^8.1 | ^8.2
License:MIT
Last Updated:Apr 20, 2026
Links: GitHub  ·  Packagist
Maintainer: marvinosswald

TextInput with a select affix

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

this input enables you to render a select next to an input in a seamless fashion.

example dark example

Installation

You can install the package via composer:

composer require marvinosswald/filament-input-select-affix

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-input-select-affix-views"

Usage

TextInputSelectAffix::make('weight_value')
->numeric()
->select(fn() => Forms\Components\Select::make('weight_unit')
    ->extraAttributes([
        'class' => 'w-[72px]' // if you want to constrain the selects size, depending on your usecase
    ])
    ->options([
        'mm' => 'mm',
        'm' => 'm'
    ])
),

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

Related Packages

marvinosswald/filament-activity-log

This is my package filament-activity-log

1,857 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609