首页>开发手册>Symfony>Form Types Reference
Symfony 手册目录展开/收起

Symfony 7.4 LTS

Form Types Reference

本文目录展开

官方英文资料(未自动翻译);本文按官方对应版本整理,保留说明和代码。站内处理包括移除站点导航、还原代码格式及调整链接。

A form is composed of fields, each of which is built with the help of a field type (e.g. TextType, ChoiceType, etc). Symfony comes standard with a large list of field types that can be used in your application.

Supported Field Types

The following field types are natively available in Symfony:

Symfony UX Fields

These types are part of the Symfony UX Packages.

UID Fields

Hidden Fields

Base Fields

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.
TOC
Version

来源与许可

Symfony documentation contributors。本资料采用 CC BY-SA 3.0;本页为官方资料的站内整理版本,并非框架官方网站。 许可说明

Symfony 官方文档 · 原文来源 · 打开在线代码运行