moritz-sauer-13/silverstripe-gridfieldaddfromlist
最新稳定版本:0.0.1
Composer 安装命令:
composer require moritz-sauer-13/silverstripe-gridfieldaddfromlist
包简介
Adds rows to GridField from a dropdown list
README 文档
README
Basic Fork from entidi/silverstripe-gridfieldaddfromlist with SS5 Support.
SilverStripe GridFieldAddFromList
This module provides a new GridField component that allows to add rows
to a grid only after setting a relation.
This is quite similar to what already done by stock
GridFieldAddExistingAutocompleter but with a few important
differences:
- the relation is set by leveraging a standard
DropdownField; - any relation can be handled (check
setTargetField()); - the same item can be added more than once (check
setUnique()).
This can be useful in contexts where GridFieldAddExistingAutocompleter
cannot be used, e.g. setting an has-one relation or linking the same
item more than once in many-many relations.
Installation
composer require entidi/silverstripe-gridfieldaddfromlist
Other documentation
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-05-27
