PHPackages                             marvinosswald/filament-input-select-affix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. marvinosswald/filament-input-select-affix

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marvinosswald/filament-input-select-affix
=========================================

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

0.3.0(1y ago)26126.1k↓18.4%13[1 issues](https://github.com/marvinosswald/filament-input-select-affix/issues)[6 PRs](https://github.com/marvinosswald/filament-input-select-affix/pulls)1MITPHPPHP ^8.1 | ^8.2CI passing

Since Nov 21Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/marvinosswald/filament-input-select-affix)[ Packagist](https://packagist.org/packages/marvinosswald/filament-input-select-affix)[ Docs](https://github.com/marvinosswald/filament-input-select-affix)[ GitHub Sponsors](https://github.com/marvinosswald)[ RSS](/packages/marvinosswald-filament-input-select-affix/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (10)Used By (1)

TextInput with a select affix
=============================

[](#textinput-with-a-select-affix)

[![Latest Version on Packagist](https://camo.githubusercontent.com/08c0e9811757ec1c0bd18b1b4b172179743b832310a3843d920a69ec009336ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617276696e6f737377616c642f66696c616d656e742d696e7075742d73656c6563742d61666669782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinosswald/filament-input-select-affix)[![GitHub Tests Action Status](https://camo.githubusercontent.com/181030c2d4f9068f7e178edcb9fc9280d0d648d3cd03b6f1b8fe459a8f908b2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d617276696e6f737377616c642f66696c616d656e742d696e7075742d73656c6563742d61666669782f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/marvinosswald/filament-input-select-affix/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/3059c7ef1dd09f02b71440895256fe07290d80e60d077b15d5952caa80716f6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d617276696e6f737377616c642f66696c616d656e742d696e7075742d73656c6563742d61666669782f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/marvinosswald/filament-input-select-affix/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f1626b392278ebb4be9a5aa72d84ec84a091725a708366ef2b6a4b13c188c5ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617276696e6f737377616c642f66696c616d656e742d696e7075742d73656c6563742d61666669782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinosswald/filament-input-select-affix)

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

[![example](https://github.com/marvinosswald/filament-input-select-affix/raw/main/.github/images/example.png?raw=true)](https://github.com/marvinosswald/filament-input-select-affix/blob/main/.github/images/example.png?raw=true)[![dark example](https://github.com/marvinosswald/filament-input-select-affix/raw/main/.github/images/example_dark.png?raw=true)](https://github.com/marvinosswald/filament-input-select-affix/blob/main/.github/images/example_dark.png?raw=true)

Installation
------------

[](#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
-----

[](#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
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Marvin Osswald](https://github.com/marvinosswald)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~127 days

Total

5

Last Release

401d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e670b546d297c0de1e44adc8deeebe76354462689163a33d98410cc56fd2f497?d=identicon)[marvinosswald](/maintainers/marvinosswald)

---

Top Contributors

[![marvinosswald](https://avatars.githubusercontent.com/u/1621844?v=4)](https://github.com/marvinosswald "marvinosswald (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![adam-code-labx](https://avatars.githubusercontent.com/u/53559175?v=4)](https://github.com/adam-code-labx "adam-code-labx (1 commits)")

---

Tags

laravelmarvinosswaldfilament-input-select-affix

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/marvinosswald-filament-input-select-affix/health.svg)

```
[![Health](https://phpackages.com/badges/marvinosswald-filament-input-select-affix/health.svg)](https://phpackages.com/packages/marvinosswald-filament-input-select-affix)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
