Forms
-
article_upload
-
image
-
title
-
description
-
category
-
price
-
_token
-
article_upload
Form type:
"App\Form\ArticleUploadType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| action | "/user/article/upload" |
same as passed value |
| method | "POST" |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "/user/article/upload" |
| 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_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#983 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#981 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#982 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "/user/article/upload" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "article_upload" "_article_upload" ] |
| cache_key | "_article_upload_article_upload" |
| compound | true |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1062 -errors: [] -form: Symfony\Component\Form\Form {#1044 …} } |
| form | Symfony\Component\Form\FormView {#980 …5} |
| full_name | "article_upload" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | true |
| name | "article_upload" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload" |
| valid | true |
| value | null |
image
Form type:
"Symfony\UX\Dropzone\Form\DropzoneType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "placeholder" => "Glissez votre image ici ou cliquez pour choisir" "accept" => "image/jpeg,image/png,image/gif,image/webp" ] |
[ "placeholder" => "Glissez votre image ici ou cliquez pour choisir" "accept" => "image/jpeg,image/png,image/gif,image/webp" ] |
| constraints | [ Symfony\Component\Validator\Constraints\File {#1024 +payload: null +groups: ? ?array +binaryFormat: false +mimeTypes: [ "image/jpeg" "image/png" "image/gif" "image/webp" ] +filenameMaxLength: null +extensions: [] +filenameCharset: null +filenameCountUnit: "bytes" +notFoundMessage: "The file could not be found." +notReadableMessage: "The file is not readable." +maxSizeMessage: "L'image ne doit pas dépasser 10 Mo." +mimeTypesMessage: "Format non supporté. Utilisez JPG, PNG, GIF ou WebP." +extensionsMessage: "The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}." +disallowEmptyMessage: "An empty file is not allowed." +filenameTooLongMessage: "The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less." +filenameCharsetMessage: "This filename does not match the expected charset." +uploadIniSizeErrorMessage: "The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}." +uploadFormSizeErrorMessage: "The file is too large." +uploadPartialErrorMessage: "The file was only partially uploaded." +uploadNoFileErrorMessage: "No file was uploaded." +uploadNoTmpDirErrorMessage: "No temporary folder was configured in php.ini." +uploadCantWriteErrorMessage: "Cannot write temporary file to disk." +uploadExtensionErrorMessage: "A PHP extension caused the upload to fail." +uploadErrorMessage: "The file could not be uploaded." #maxSize: 10000000 } ] |
[ Symfony\Component\Validator\Constraints\File {#1024 +payload: null +groups: ? ?array +binaryFormat: false +mimeTypes: [ "image/jpeg" "image/png" "image/gif" "image/webp" ] +filenameMaxLength: null +extensions: [] +filenameCharset: null +filenameCountUnit: "bytes" +notFoundMessage: "The file could not be found." +notReadableMessage: "The file is not readable." +maxSizeMessage: "L'image ne doit pas dépasser 10 Mo." +mimeTypesMessage: "Format non supporté. Utilisez JPG, PNG, GIF ou WebP." +extensionsMessage: "The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}." +disallowEmptyMessage: "An empty file is not allowed." +filenameTooLongMessage: "The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less." +filenameCharsetMessage: "This filename does not match the expected charset." +uploadIniSizeErrorMessage: "The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}." +uploadFormSizeErrorMessage: "The file is too large." +uploadPartialErrorMessage: "The file was only partially uploaded." +uploadNoFileErrorMessage: "No file was uploaded." +uploadNoTmpDirErrorMessage: "No temporary folder was configured in php.ini." +uploadCantWriteErrorMessage: "Cannot write temporary file to disk." +uploadExtensionErrorMessage: "A PHP extension caused the upload to fail." +uploadErrorMessage: "The file could not be uploaded." #maxSize: 10000000 } ] |
| label | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | true |
| attr | [ "placeholder" => "Glissez votre image ici ou cliquez pour choisir" "accept" => "image/jpeg,image/png,image/gif,image/webp" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\File {#1024 +payload: null +groups: ? ?array +binaryFormat: false +mimeTypes: [ "image/jpeg" "image/png" "image/gif" "image/webp" ] +filenameMaxLength: null +extensions: [] +filenameCharset: null +filenameCountUnit: "bytes" +notFoundMessage: "The file could not be found." +notReadableMessage: "The file is not readable." +maxSizeMessage: "L'image ne doit pas dépasser 10 Mo." +mimeTypesMessage: "Format non supporté. Utilisez JPG, PNG, GIF ou WebP." +extensionsMessage: "The extension of the file is invalid ({{ extension }}). Allowed extensions are {{ extensions }}." +disallowEmptyMessage: "An empty file is not allowed." +filenameTooLongMessage: "The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less." +filenameCharsetMessage: "This filename does not match the expected charset." +uploadIniSizeErrorMessage: "The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}." +uploadFormSizeErrorMessage: "The file is too large." +uploadPartialErrorMessage: "The file was only partially uploaded." +uploadNoFileErrorMessage: "No file was uploaded." +uploadNoTmpDirErrorMessage: "No temporary folder was configured in php.ini." +uploadCantWriteErrorMessage: "Cannot write temporary file to disk." +uploadExtensionErrorMessage: "A PHP extension caused the upload to fail." +uploadErrorMessage: "The file could not be uploaded." #maxSize: 10000000 } ] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | "Symfony\Component\HttpFoundation\File\File" |
| disabled | false |
| empty_data | null |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "Please select a valid file." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| multiple | false |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1003 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#1004 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "placeholder" => "Glissez votre image ici ou cliquez pour choisir" "accept" => "image/jpeg,image/png,image/gif,image/webp" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "file" "dropzone" "_article_upload_image" ] |
| cache_key | "_article_upload_image_dropzone" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1075 -errors: [] -form: Symfony\Component\Form\Form {#1082 …} } |
| form | Symfony\Component\Form\FormView {#1077 …5} |
| full_name | "article_upload[image]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload_image" |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | true |
| name | "image" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| type | "file" |
| unique_block_prefix | "_article_upload_image" |
| valid | true |
| value | "" |
title
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "placeholder" => "Titre de l'œuvre" ] |
[ "placeholder" => "Titre de l'œuvre" ] |
| constraints | [ Symfony\Component\Validator\Constraints\NotBlank {#1002 +payload: null +groups: ? ?array +message: "Le titre est requis." +allowNull: false +normalizer: null } ] |
[ Symfony\Component\Validator\Constraints\NotBlank {#1002 +payload: null +groups: ? ?array +message: "Le titre est requis." +allowNull: false +normalizer: null } ] |
| label | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "placeholder" => "Titre de l'œuvre" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [ Symfony\Component\Validator\Constraints\NotBlank {#1002 +payload: null +groups: ? ?array +message: "Le titre est requis." +allowNull: false +normalizer: null } ] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#961 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#950 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#948 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "placeholder" => "Titre de l'œuvre" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_article_upload_title" ] |
| cache_key | "_article_upload_title_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1074 -errors: [] -form: Symfony\Component\Form\Form {#1085 …} } |
| form | Symfony\Component\Form\FormView {#1073 …5} |
| full_name | "article_upload[title]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload_title" |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "title" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload_title" |
| valid | true |
| value | "" |
description
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "placeholder" => "Description (optionnel)" ] |
[ "placeholder" => "Description (optionnel)" ] |
| label | false |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "placeholder" => "Description (optionnel)" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#968 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#970 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#969 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "placeholder" => "Description (optionnel)" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_article_upload_description" ] |
| cache_key | "_article_upload_description_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1072 -errors: [] -form: Symfony\Component\Form\Form {#1088 …} } |
| form | Symfony\Component\Form\FormView {#1071 …5} |
| full_name | "article_upload[description]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload_description" |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "description" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload_description" |
| valid | true |
| value | "" |
category
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| choices | [ "Illustration" => "illustration" "Photographie" => "photographie" "Graphisme" => "graphisme" "Peinture" => "peinture" "Digital Painting" => "digital-painting" "Motion Design" => "motion-design" ] |
[ "Illustration" => "illustration" "Photographie" => "photographie" "Graphisme" => "graphisme" "Peinture" => "peinture" "Digital Painting" => "digital-painting" "Motion Design" => "motion-design" ] |
| label | false |
same as passed value |
| placeholder | "Catégorie" |
same as passed value |
| required | false |
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 |
| choice_attr | null |
| choice_filter | null |
| choice_label | null |
| choice_lazy | false |
| choice_loader | null |
| choice_name | null |
| choice_translation_domain | null |
| choice_translation_parameters | [] |
| choice_value | null |
| choices | [ "Illustration" => "illustration" "Photographie" => "photographie" "Graphisme" => "graphisme" "Peinture" => "peinture" "Digital Painting" => "digital-painting" "Motion Design" => "motion-design" ] |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| duplicate_preferred_choices | true |
| empty_data | "" |
| error_bubbling | false |
| error_mapping | [] |
| expanded | false |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| group_by | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The selected choice is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| multiple | false |
| placeholder | "Catégorie" |
| placeholder_attr | [] |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| preferred_choices | [] |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| separator | "-------------------" |
| separator_html | false |
| setter | null |
| translation_domain | null |
| trim | false |
| upload_max_size_message | Closure() {#1019 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#1017 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "choice" "_article_upload_category" ] |
| cache_key | "_article_upload_category_choice" |
| choice_translation_domain | null |
| choice_translation_parameters | [] |
| choices | [ Symfony\Component\Form\ChoiceList\View\ChoiceView {#971 +data: "illustration" +value: "illustration" +label: "Illustration" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#1070 +data: "photographie" +value: "photographie" +label: "Photographie" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#1068 +data: "graphisme" +value: "graphisme" +label: "Graphisme" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#1063 +data: "peinture" +value: "peinture" +label: "Peinture" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#1056 +data: "digital-painting" +value: "digital-painting" +label: "Digital Painting" +attr: [] +labelTranslationParameters: [] } Symfony\Component\Form\ChoiceList\View\ChoiceView {#949 +data: "motion-design" +value: "motion-design" +label: "Motion Design" +attr: [] +labelTranslationParameters: [] } ] |
| compound | false |
| data | null |
| disabled | false |
| duplicate_preferred_choices | true |
| errors | Symfony\Component\Form\FormErrorIterator {#1037 -errors: [] -form: Symfony\Component\Form\Form {#1046 …} } |
| expanded | false |
| form | Symfony\Component\Form\FormView {#1020 …5} |
| full_name | "article_upload[category]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload_category" |
| is_selected | Closure($choice, $value) {#1083 class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType" } |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| multiple | false |
| name | "category" |
| placeholder | "Catégorie" |
| placeholder_attr | [] |
| placeholder_in_choices | false |
| preferred_choices | [] |
| priority | 0 |
| required | false |
| row_attr | [] |
| separator | "-------------------" |
| separator_html | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload_category" |
| valid | true |
| value | "" |
price
Form type:
"Symfony\Component\Form\Extension\Core\Type\TextType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | null |
| View Format |
"" |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "placeholder" => "Prix en € (optionnel)" "pattern" => "^\d+([.,]\d{1,2})?$" ] |
[ "placeholder" => "Prix en € (optionnel)" "pattern" => "^\d+([.,]\d{1,2})?$" ] |
| label | false |
same as passed value |
| required | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "placeholder" => "Prix en € (optionnel)" "pattern" => "^\d+([.,]\d{1,2})?$" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1027 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | false |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1036 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#1033 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "placeholder" => "Prix en € (optionnel)" "pattern" => "^\d+([.,]\d{1,2})?$" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_article_upload_price" ] |
| cache_key | "_article_upload_price_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1055 -errors: [] -form: Symfony\Component\Form\Form {#1049 …} } |
| form | Symfony\Component\Form\FormView {#1057 …5} |
| full_name | "article_upload[price]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload_price" |
| label | false |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "price" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload_price" |
| valid | true |
| value | "" |
_token
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | "csrf-token" |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| attr | [ "data-controller" => "csrf-protection" ] |
[ "data-controller" => "csrf-protection" ] |
| block_prefix | "csrf_token" |
same as passed value |
| data | "csrf-token" |
same as passed value |
| mapped | false |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | "csrf_token" |
| by_reference | true |
| compound | false |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#830 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#75 …} -logger: Monolog\Logger {#166 …} -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#813 …} -tokenIds: [ "submit" => 0 "authenticate" => 1 "logout" => 2 ] -checkHeader: 1 -cookieName: "csrf-token" } |
| data | "csrf-token" |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1079 class: "Symfony\Component\Form\Extension\Core\Type\FormType" } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "The hidden field is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | false |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| property_path | null |
| required | false |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1095 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#251 …} $message: Closure() {#1091 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [ "data-controller" => "csrf-protection" ] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_article_upload__token" ] |
| cache_key | "_article_upload__token_hidden" |
| compound | false |
| data | "csrf-token" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1105 -errors: [] -form: Symfony\Component\Form\Form {#1101 …} } |
| form | Symfony\Component\Form\FormView {#1096 …5} |
| full_name | "article_upload[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "article_upload__token" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "_token" |
| priority | 0 |
| required | false |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_article_upload__token" |
| valid | true |
| value | "csrf-token" |