PHPackages                             phloxcz/forms-combobox - 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. phloxcz/forms-combobox

ActiveLibrary

phloxcz/forms-combobox
======================

Searchable ComboBox form control for Nette Framework with AJAX-powered Selection datasource.

v1.0.0(1mo ago)01↑2900%MITPHPPHP &gt;=8.1

Since Mar 28Pushed 1mo agoCompare

[ Source](https://github.com/phloxcz/forms-combobox)[ Packagist](https://packagist.org/packages/phloxcz/forms-combobox)[ Docs](https://github.com/phloxcz/forms-combobox)[ RSS](/packages/phloxcz-forms-combobox/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

phloxcz/forms-combobox
======================

[](#phloxczforms-combobox)

Searchable ComboBox form control for [Nette Framework](https://nette.org) backed by `Nette\Database\Table\Selection`.

Opens with the first N records on focus, filters via AJAX as the user types, and correctly pre-fills the label when opening an edit form – without an extra AJAX round-trip, even for a record deep in the dataset. Ships with built-in Bootstrap 5 and Tailwind CSS themes and full keyboard navigation.

```
composer require phloxcz/forms-combobox

```

---

Quickstart
----------

[](#quickstart)

### 1. Register the DI extension

[](#1-register-the-di-extension)

```
# config/common.neon
extensions:
    combobox: Phlox\Forms\ComboBox\ComboBoxExtension
```

### 2. Include assets

[](#2-include-assets)

```

```

### 3. Add the field to your form

[](#3-add-the-field-to-your-form)

```
use Phlox\Forms\ComboBox\ComboBoxInput;

$form->addComboBox('countryId', 'Country', $this->link('searchCountry!'))
     ->setSelection($this->db->table('countries'), 'id', 'name')
     ->setLimit(30)
     ->setTheme(ComboBoxInput::THEME_BOOTSTRAP);
```

### 4. Add a search signal to your presenter

[](#4-add-a-search-signal-to-your-presenter)

```
public function handleSearchCountry(string $q = ''): void
{
    $this->sendJson($this['form']['countryId']->fetchData($q));
}
```

### 5. Render the field in Latte

[](#5-render-the-field-in-latte)

```
{label countryId /}
{input countryId}
```

---

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

[](#documentation)

Full documentation is in [`docs/README.md`](docs/README.md).

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

[](#requirements)

- PHP 8.1+
- Nette Framework 3.1+ (`nette/application`, `nette/forms`, `nette/database`, `nette/di`)

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

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

---

Tags

autocompletenetteajaxformselectComboboxnette-database

### Embed Badge

![Health badge](/badges/phloxcz-forms-combobox/health.svg)

```
[![Health](https://phpackages.com/badges/phloxcz-forms-combobox/health.svg)](https://phpackages.com/packages/phloxcz-forms-combobox)
```

###  Alternatives

[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)[nextras/form-components

Form components for Nette Framework.

10242.9k](/packages/nextras-form-components)

PHPackages © 2026

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