PHPackages                             adrhumphreys/silverstripe-textdropdownfield - 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. adrhumphreys/silverstripe-textdropdownfield

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

adrhumphreys/silverstripe-textdropdownfield
===========================================

A text field combined with a dropdown field.

2.0.0(7mo ago)106.4k4[1 issues](https://github.com/adrhumphreys/silverstripe-textdropdownfield/issues)BSD-3-ClauseJavaScriptPHP ^8.3

Since Nov 2Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/adrhumphreys/silverstripe-textdropdownfield)[ Packagist](https://packagist.org/packages/adrhumphreys/silverstripe-textdropdownfield)[ RSS](/packages/adrhumphreys-silverstripe-textdropdownfield/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (4)Versions (5)Used By (0)

Text dropdown field
===================

[](#text-dropdown-field)

This lets you add field that is a combination of a dropdown and a text field [![](./example.png)](./example.png)

Requirements
------------

[](#requirements)

- PHP ^8.3
- SilverStripe ^6

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

[](#installation)

```
composer require adrhumphreys/silverstripe-textdropdownfield dev-master

```

Documentation
-------------

[](#documentation)

When using this field you'll need to specify the name of the field, the title for the field, the text relation, the dropdown relation followed by the dropdown source.

An example usecase could look like this:

```
