PHPackages                             dnadesign/silverstripe-advanceddropdowns - 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. dnadesign/silverstripe-advanceddropdowns

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

dnadesign/silverstripe-advanceddropdowns
========================================

DropdownField and GroupedDropdownField that allows the use of data-attributes on each option tag

2.0.3(8y ago)1717.4k3[1 issues](https://github.com/dnadesign/silverstripe-advanceddropdowns/issues)BSD-3-ClausePHP

Since Feb 7Pushed 8y ago13 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

AdvancedDropdowns
=================

[](#advanceddropdowns)

Introduction
------------

[](#introduction)

DropdownField and GroupedDropdownField that allows the use of data-attributes on each option tag. Very useful for third party dropdown styling such as () which rely on data-attributes on options.

Please note this module is a work in progress and has no tests.

AdvandedDropdownField
---------------------

[](#advandeddropdownfield)

Set up your AdvandedDropdownField's as follows:

```
new AdvancedDropdownField('AdvancedDropdown', 'DropdownField with option attributes', array(
	'value1' => array(
		'Title' => 'Option 1',
		'Attributes' => array(
			'data-myattribute' => 'This is an attribute value'
		)
	),
	'value2' => array(
		'Title' => 'Option 2',
		'Attributes' => array(
			'data-myattribute' => 'This is an attribute value'
			'data-myattribute2' => 'This is a second attribute value'
		)
	)
));
```

AdvandedGroupedDropdownField
----------------------------

[](#advandedgroupeddropdownfield)

Set up your AdvandedGroupedDropdownField's as follows:

```
new AdvancedGroupedDropdownField('AdvancedGroupedDropdown', 'Advanced grouped dropdown', array(
	'value1' => array(
		'Title' => 'Ungrouped option',
		'Attributes' => array(
			'data-myattribute' => 'This is an attribute value'
		)
	),
	'Option group 1' => array(
		'value2' => array(
			'Title' => 'Option 2',
			'Attributes' => array(
				'data-myattribute' => 'This is an attribute value'
			)
		),
		'value3' => array(
			'Title' => 'Option 3',
			'Attributes' => array(
				'data-myattribute' => 'This is an attribute value'
			)
		)
	),
	'Option group 2' => array(
		'value4' => array(
			'Title' => 'Option 4',
			'Attributes' => array(
				'data-myattribute' => 'This is an attribute value'
			)
		),
		'value5' => array(
			'Title' => 'Option 5',
			'Attributes' => array(
				'data-myattribute' => 'This is an attribute value'
				'data-myattribute2' => 'This is a second attribute value'
			)
		)
	)
));
```

Maintainer Contact
------------------

[](#maintainer-contact)

```
* James ayers (james.ayers@dna.co.nz)

```

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

[](#requirements)

- SilverStripe 3.x

License
-------

[](#license)

BSD-3-Clause. See LICENSE.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

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 ~88 days

Recently: every ~110 days

Total

6

Last Release

2991d ago

Major Versions

1.0 → 2.0.12017-02-07

2.0.1 → 3.0.x-dev2017-02-07

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/1740262?v=4)[James Ayers](/maintainers/Leapfrognz)[@Leapfrognz](https://github.com/Leapfrognz)

---

Top Contributors

[![adrexia](https://avatars.githubusercontent.com/u/984753?v=4)](https://github.com/adrexia "adrexia (4 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (2 commits)")[![djrumbold](https://avatars.githubusercontent.com/u/113584?v=4)](https://github.com/djrumbold "djrumbold (1 commits)")[![tamelion](https://avatars.githubusercontent.com/u/1680944?v=4)](https://github.com/tamelion "tamelion (1 commits)")

---

Tags

silverstripedropdownselect

### Embed Badge

![Health badge](/badges/dnadesign-silverstripe-advanceddropdowns/health.svg)

```
[![Health](https://phpackages.com/badges/dnadesign-silverstripe-advanceddropdowns/health.svg)](https://phpackages.com/packages/dnadesign-silverstripe-advanceddropdowns)
```

###  Alternatives

[kartik-v/dependent-dropdown

A multi level dependent dropdown JQuery plugin that allows nested dependencies.

1825.2M3](/packages/kartik-v-dependent-dropdown)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M273](/packages/symbiote-silverstripe-gridfieldextensions)[harvesthq/chosen

Chosen is a JavaScript plugin that makes select boxes user-friendly. It is currently available in both jQuery and Prototype flavors.

405.3M12](/packages/harvesthq-chosen)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)

PHPackages © 2026

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