shopsys / form-types-bundle
Shopsys Platform custom Symfony form types
Requires
- php: ^8.3
- symfony/config: ^5.4
- symfony/dependency-injection: ^5.4
- symfony/form: ^5.4
- symfony/framework-bundle: ^5.4
- symfony/http-kernel: ^5.4
- symfony/options-resolver: ^5.4
- symfony/translation: ^5.4
- 16.0.x-dev
- 15.0.x-dev
- v15.0.0
- 14.0.x-dev
- v14.0.1
- v14.0.0
- 13.0.x-dev
- v13.0.0
- 12.1.x-dev
- 12.0.x-dev
- v12.0.0
- v11.1.0
- dev-master / 11.0.x-dev
- v11.0.0
- 10.0.x-dev
- v10.0.5
- v10.0.4
- v10.0.3
- v10.0.2
- v10.0.1
- v10.0.0
- 9.1.x-dev
- v9.1.3
- v9.1.2
- v9.1.1
- v9.1.0
- 9.0.x-dev
- v9.0.4
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0.0
- 8.1.x-dev
- v8.1.2
- v8.1.1
- v8.1.0
- 8.0.x-dev
- v8.0.0
- 7.3.x-dev
- v7.3.7
- v7.3.6
- v7.3.5
- v7.3.4
- v7.3.3
- v7.3.2
- v7.3.1
- v7.3.0
- 7.2.x-dev
- v7.2.2
- v7.2.1
- v7.2.0
- 7.1.x-dev
- v7.1.1
- v7.1.0
- 7.0.x-dev
- v7.0.1
- v7.0.0
- v7.0.0-beta6
- v7.0.0-beta5
- v7.0.0-beta4
- v7.0.0-beta3
- v7.0.0-beta2
- v7.0.0-beta1
- v7.0.0-alpha6
- v7.0.0-alpha5
- v7.0.0-alpha4
- v7.0.0-alpha3
- v7.0.0-alpha2
- v7.0.0-alpha1
- v0.2.0
- v0.1.0
- dev-alpha
- dev-mg-move-seo-mix
- dev-tl-convertim-backend
- dev-pt-yaml-standards-vol-2
- dev-rc-12-0-0
- dev-tl-fix-failing-12-0-builds
- dev-mg-js-translations-fix
- dev-mg-split-repo
- dev-rc-11-1-0
- dev-mg-deployment
- dev-mg-project-cold-fusion
- dev-mg-remove-manifests
- dev-tl-fix-project-base
- dev-rc-11-0-0
- dev-rc-10-0-5
- dev-rk-fw-uprage-from-10-to-11-part-3
- dev-rc-v9-1-3
- dev-rk-fw-1019-api-query-name-in-symfony-profiler
- dev-rk-fw-uprage-from-10-to-11-part-2
- dev-rc-10-0-4
- dev-rc-10-0-3
- dev-mg-release-lock
- dev-rk-fw-uprage-from-10-to-11-part-1
- dev-rc-10-0-2
- dev-rc-10-0-1
- dev-mg-fw-933-remove-rootdir
- dev-mg-remove-twig-extension
- dev-rc-10-0-0
- dev-mg-upgrade-php8
- dev-mg-remove-be-api-integration
- dev-rv-fw-837-doctrine-upgrade
- dev-rv-fw-847-migrations-tests
- dev-mg-improve-entity-extension
- dev-rv-fw-810-fix-actions
- dev-rc-v9-1-2
- dev-rc-v7-3-7
- dev-mg-allow-dependency
- dev-mg-fix-phpstan-packages
- dev-mg-force-proxy-manager-version
- dev-mg-update-node
- dev-origin/tl-phpstan-all-packages
- dev-tl-release-9-1-1
- dev-ds-coding-standards-allow-symfony-5-higher
- dev-tl-remove-package-builder
- dev-tl-github-actions-for-packages
- dev-ds-fix-ecs
- dev-mg-update-helios-elfinder
- dev-tp-allow-coding-standards-for-symfony5
- dev-rc-v9-1-0
- dev-rc-v7-3-6
- dev-rc-v9-0-4
- dev-tl-fix-docker-limits
- dev-mg-php74-only
- dev-rc-v9-0-3
- dev-ds-more-coding-standards
- dev-rc-v7-3-5
- dev-ds-ecs-path-fix
- dev-rc-v9-0-2
- dev-ds-eof-new-line
- dev-ds-phpstan-lvl-5
- dev-tl-fix-phpstan
- dev-rc-v9-0-1
- dev-tl-add-psr-14
- dev-ds-fixed-framework-standaards
- dev-rc-v7-3-4
- dev-rc-v8-1-2
- dev-rc-v9-0-0
- dev-tl-fix-current-customer-user
- dev-tp-js-fixes
- dev-vitek-rostislav-patch-3
- dev-tg-grunt-webpack
- dev-tp-symfony4
- dev-rv-eur-on-first-domain
- dev-rc-v7-3-3
- dev-tp-update-composer
- dev-ds-easier-elastic-extensebility
- dev-rc-v8-1-1
- dev-rc-v8-1-0
- dev-tp-npm-link
- dev-mg-weird-flex-but-ok
- dev-ds-fix-project-base-dependency
- dev-ds-fix-sed-macos
- dev-mg-graphql-categories
- dev-ds-kubernetes-simplify
- dev-tl-rv-datafixtures-refactoring
- dev-ds-kubernetes-simplify-test
- dev-rv-extended-classes-fixer
- dev-rv-phpstan-lvl4
- dev-ds-test-install-script-automatically
- dev-rc-8-0-0
- dev-ss-api-import-products
- dev-do-version-lock
- dev-rc-v7-3-0
- dev-ss-api-separated-from-default-project-base
- dev-do-elastic-structure-deploy
- dev-mg-fix-k8s-https
- dev-ph-price-calculation
- dev-ph-redis-clients
- dev-tl-fix-tests-bc-break
- dev-tl-removed-tests-bc-break
- dev-tl-united-non-bc-break-service-injections
- dev-ss-tl-api-products
- dev-ph-phing-test
- dev-tl-end-support-php-71
- dev-bb-multidomain-sitemap
- dev-do-mg-mail-attachments
- dev-bb-initcontainer-owner-fix
- dev-bb-flysystem-volume-driver
- dev-do-phpstan-upgrade
- dev-rv-read-model-bck
- dev-jg-redis-cache
- dev-mg-elastic-filtering
- dev-rv-upgrade-ecs
- dev-bb-ecs-hotfix
- dev-jg-form-ordering
- dev-rv-better-php-doc-parser-config
- dev-do-fixtures-project-base
- dev-mg-multiple-cron
- dev-mc-cdn-bucket
- dev-sspooky13-pt-yaml-standards
- dev-do-product-export-fix
- dev-mc-ph-google-cloud-bundle
This package is auto-updated.
Last update: 2024-11-04 12:44:19 UTC
README
Symfony bundle adding form types for usage in Shopsys Platform, its components and plugins.
This repository is maintained by shopsys/shopsys monorepo, information about changes is in monorepo CHANGELOG.md.
Installation
The plugin is a Symfony bundle and is installed in the same way:
Download
First, you download the package using Composer:
composer require shopsys/form-types
How to use a custom form type
The form types in this package are regular Symfony form types. See Symfony Forms Documentation for detailed explanation.
Contents
MultidomainType
Compound type that renders one form of given type for each domain.
It can be configured via the following options:
entry_type
- The type of the inner form. Defaults toTextType::class
.entry_options
- The options of the inner forms. Defaults to[]
.options_by_domain_id
- The options of the inner forms based on the domain ID. Provide arrays indexed by the domain ID, values are merged with theentry_options
. Defaults to[]
.
The data of the inner forms are returned as an array indexed by the domain ID.
YesNoType
Natural looking choice type for boolean value inputs.
It has no notable options.
A boolean value is accepted/returned as data. A null value can be accepted/returned when no radio button is checked.
Contributing
Thank you for your contributions to Shopsys Form Types Bundle package. Together we are making Shopsys Platform better.
This repository is READ-ONLY. If you want to report issues and/or send pull requests, please use the main Shopsys repository.
Please, check our Contribution Guide before contributing.
Support
What to do when you are in troubles or need some help? The best way is to join our Slack.
If you want to report issues, please use the main Shopsys repository.