trilobit-gmbh/contao-databaseformfieldoptions-bundle
最新稳定版本:2.0.3
Composer 安装命令:
composer require trilobit-gmbh/contao-databaseformfieldoptions-bundle
包简介
Contao 4 / Contao 5 database formfield options bundle
README 文档
README
Mit dem DatabaseFormFieldOptions Bundle werden dem Contao Formulargenerator neue Eingabefeld-Typen hinzugefügt:
- Country-Select
- Language-Select
- Gender-Select
- Database-Select (unter Angabe, welche Tabelle, welche Spalte die Optionen ausgibt und welche Spalte für die Labels ist)
- Database-Radio - siehe Database-Select
- Database-Checkbox - siehe Database-Select
Bei allen DB Feldern besteht die Möglichkeit, manuell eigenen Optionen zu ergänzen, eine Leerauswahl hinzuzufügen sowie Filter zu definieren (z.B. pid=...). Dabei muss jedoch bedacht werden, das die Filter durch SQL-Injections ein gewisses Risiko beinhalten!
With the DatabaseFormFieldOptions Bundle, new input field types are added to the Contao form generator
- Country select
- Language-Select
- Gender-Select
- Database-Select (stating which table, which column outputs the options and which column is for the labels)
- Database-Radio - see Database-Select
- Database-Checkbox - see Database-Select
For all DB fields you can manually add your own options, add an empty selection and define filters (e.g. pid = ...). However, due to SQL injections, there is some risk in using the filters.
Backend Ausschnitt
Installation
Install the extension via composer: trilobit-gmbh/contao-databaseformfieldoptions-bundle.
Compatibility
- Contao version ~4.9
- Contao version ~4.13
统计信息
- 总下载量: 3.99k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2020-11-11
