Symfony 5: The Fast Track is the best book to learn
modern Symfony development, from zero to production. +300 pages in full color showing how to
combine Symfony with Docker, APIs, queues & async tasks, Webpack, Single-Page Applications, etc.
type: mixed default: Defaults to field of the underlying object (if there is one)
When you create a form, each field initially displays the value of the
corresponding property of the form’s domain object (if an object is bound
to the form). If you want to override the initial value for the form or just
an individual field, you can set it in the data option: