Forms
post_form
"App\Form\Type\PostFormType"
Errors
| Message | Origin | Cause |
|---|---|---|
| This collection should contain 2 elements or more. | contents |
Caused by:
ConstraintViolation^ {#1235 : Form^ {#719 : "post_form" : "App\Form\Type\PostFormType" } : "data.contents" : ArrayCollection {#580 …} } |
| This form should not contain extra fields. | post_form |
Caused by:
ConstraintViolation^ {#1245 : Form^ {#719 : "post_form" : "App\Form\Type\PostFormType" } : "" : [ "0x" => [ "androxgh0st" ] ] } |
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | Post^ {#579 #id: null #title: null #thumbnail: null #video: null #excerpt: null #contents: ArrayCollection {#580 …} #status: 1 #createdAt: null #updatedAt: null } |
| View Format | same as normalized format |
Submitted Data
| Property | Value |
|---|---|
| View Format | same as normalized format |
| Normalized Format | Post^ {#579 #id: null #title: null #thumbnail: null #video: null #excerpt: null #contents: ArrayCollection {#580 …} #status: 1 #createdAt: null #updatedAt: null } |
| Model Format | same as normalized format |
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| data | Post^ {#579 #id: null #title: null #thumbnail: null #video: null #excerpt: null #contents: ArrayCollection {#580 …} #status: 1 #createdAt: null #updatedAt: null } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_protection | false |
| data | Post^ {#579 #id: null #title: null #thumbnail: null #video: null #excerpt: null #contents: ArrayCollection {#580 …} #status: 1 #createdAt: null #updatedAt: null } |
| data_class | "App\Entity\Post" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#636 : "Symfony\Component\Form\Extension\Core\Type\FormType" : FormType {#598 …} : { : "App\Entity\Post" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| label | null |
| label_attr | [] |
| label_format | null |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| property_path | null |
| required | true |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#642 : "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" : UploadValidatorExtension {#610 …} : { : DataCollectorTranslator {#333 …} : "validators" : Closure {#641 …} } } |
| validation_groups | null |