{"id":18382409,"url":"https://github.com/ntd/silverstripe-gridfieldaddfromlist","last_synced_at":"2025-04-06T23:31:37.212Z","repository":{"id":56978208,"uuid":"355258480","full_name":"ntd/silverstripe-gridfieldaddfromlist","owner":"ntd","description":"A GridField component that allows to add rows to a specific relation set","archived":false,"fork":false,"pushed_at":"2021-06-29T10:18:53.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-22T09:01:52.363Z","etag":null,"topics":["gridfield","module","silverstripe","silverstripe-module"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-06T16:30:31.000Z","updated_at":"2024-07-23T08:30:33.000Z","dependencies_parsed_at":"2022-08-21T11:20:57.951Z","dependency_job_id":null,"html_url":"https://github.com/ntd/silverstripe-gridfieldaddfromlist","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntd%2Fsilverstripe-gridfieldaddfromlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntd%2Fsilverstripe-gridfieldaddfromlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntd%2Fsilverstripe-gridfieldaddfromlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntd%2Fsilverstripe-gridfieldaddfromlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntd","download_url":"https://codeload.github.com/ntd/silverstripe-gridfieldaddfromlist/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569123,"owners_count":20959758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gridfield","module","silverstripe","silverstripe-module"],"created_at":"2024-11-06T01:05:27.858Z","updated_at":"2025-04-06T23:31:32.184Z","avatar_url":"https://github.com/ntd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"SilverStripe GridFieldAddFromList\n=================================\n\nThis module provides a new `GridField` component that allows to add rows\nto a grid only after setting a relation.\n\n![Screenshot of GridFieldAddFromList](docs/en/screenshot.png)\n\nThis is quite similar to what already done by stock\n`GridFieldAddExistingAutocompleter` but with a few important\ndifferences:\n\n1. the relation is set by leveraging a standard `DropdownField`;\n2. any relation can be handled (check `setTargetField()`);\n3. the same item can be added more than once (check `setUnique()`).\n\nThis can be useful in contexts where `GridFieldAddExistingAutocompleter`\ncannot be used, e.g. setting an **has-one** relation or linking the same\nitem more than once in **many-many** relations.\n\nInstallation\n------------\n\n    composer require entidi/silverstripe-gridfieldaddfromlist\n\nOther documentation\n-------------------\n\n* [Usage](docs/en/usage.md)\n* [Contributing](CONTRIBUTING.md)\n* [Code of Conduct](https://docs.silverstripe.org/en/contributing/code_of_conduct)\n* [BSD license](LICENSE.md)\n* [Support](docs/en/support.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntd%2Fsilverstripe-gridfieldaddfromlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntd%2Fsilverstripe-gridfieldaddfromlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntd%2Fsilverstripe-gridfieldaddfromlist/lists"}