Forms
-
add_product
-
product_name
-
product_price
-
product_detail
-
product_image
-
category
-
_token
-
add_product
Form type:
"App\Form\AddProductType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | App\Entity\Product {#1186 -id: null -product_name: null -product_detail: null -product_price: null -Product_image: null -category: null -createdAt: null } |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| data | App\Entity\Product {#1186 -id: null -product_name: null -product_detail: null -product_price: null -Product_image: null -category: null -createdAt: 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_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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data | App\Entity\Product {#1186 -id: null -product_name: null -product_detail: null -product_price: null -Product_image: null -category: null -createdAt: null } |
| data_class | "App\Entity\Product" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1246 class: "Symfony\Component\Form\Extension\Core\Type\FormType" use: { $class: "App\Entity\Product" } } |
| 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| 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_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1248 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1247 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "add_product" "_add_product" ] |
| cache_key | "_add_product_add_product" |
| compound | true |
| data | App\Entity\Product {#1186 -id: null -product_name: null -product_detail: null -product_price: null -Product_image: null -category: null -createdAt: null } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1354 -form: Symfony\Component\Form\Form {#1361 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1249 …5} |
| full_name | "add_product" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | true |
| name | "add_product" |
| priority | 0 |
| required | true |
| row_attr | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product" |
| valid | true |
| value | App\Entity\Product {#1186 -id: null -product_name: null -product_detail: null -product_price: null -Product_image: null -category: null -createdAt: null } |
product_name
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
No options were passed when constructing this form.
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 | 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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1259 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| 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_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1261 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1260 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_add_product_product_name" ] |
| cache_key | "_add_product_product_name_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1262 -form: Symfony\Component\Form\Form {#1364 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1271 …5} |
| full_name | "add_product[product_name]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product_product_name" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "product_name" |
| priority | 0 |
| required | true |
| row_attr | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product_product_name" |
| valid | true |
| value | "" |
product_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
No options were passed when constructing this form.
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 | 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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1268 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| 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_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1270 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1269 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_add_product_product_price" ] |
| cache_key | "_add_product_product_price_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1380 -form: Symfony\Component\Form\Form {#1367 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1382 …5} |
| full_name | "add_product[product_price]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product_product_price" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "product_price" |
| priority | 0 |
| required | true |
| row_attr | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product_product_price" |
| valid | true |
| value | "" |
product_detail
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
No options were passed when constructing this form.
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 | 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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1277 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| 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_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1279 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1278 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "text" "_add_product_product_detail" ] |
| cache_key | "_add_product_product_detail_text" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1383 -form: Symfony\Component\Form\Form {#1370 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1384 …5} |
| full_name | "add_product[product_detail]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product_product_detail" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "product_detail" |
| priority | 0 |
| required | true |
| row_attr | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product_product_detail" |
| valid | true |
| value | "" |
product_image
Form type:
"Symfony\Component\Form\Extension\Core\Type\FileType"
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
No options were passed when constructing this form.
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | true |
| attr | [] |
| 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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| inherit_data | false |
| invalid_message | "Please select a valid file." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1293 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1292 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "file" "_add_product_product_image" ] |
| cache_key | "_add_product_product_image_file" |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1385 -form: Symfony\Component\Form\Form {#1373 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1405 …5} |
| full_name | "add_product[product_image]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product_product_image" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | true |
| name | "product_image" |
| priority | 0 |
| required | true |
| row_attr | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| type | "file" |
| unique_block_prefix | "_add_product_product_image" |
| valid | true |
| value | "" |
category
Form type:
"Symfony\Bridge\Doctrine\Form\Type\EntityType"
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 |
|---|---|---|
| choice_label | "name" |
same as passed value |
| class | "App\Entity\Category" |
same as passed value |
| placeholder | "Select a category" |
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 | "name" |
| choice_loader | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceLoader {#1349 -option: Symfony\Bridge\Doctrine\Form\ChoiceList\DoctrineChoiceLoader {#1328 …} } |
| choice_name | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceFieldName {#1350 -option: Symfony\Bridge\Doctrine\Form\Type\DoctrineType::createChoiceName(object $choice, string|int $key, string $value): string {#1351 …} } |
| choice_translation_domain | false |
| choice_translation_parameters | [] |
| choice_value | Symfony\Component\Form\ChoiceList\Factory\Cache\ChoiceValue {#1353 -option: Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader::getIdValue(object $object = null): string {#1352 …} } |
| choices | null |
| class | "App\Entity\Category" |
| 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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data_class | null |
| disabled | false |
| duplicate_preferred_choices | true |
| em | ContainerSmMoU2o\EntityManagerGhostEbeb667 {#291 …12} |
| 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id_reader | Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader {#1331 -singleId: true -intId: true -idField: "id" -associationIdReader: null -om: ContainerSmMoU2o\EntityManagerGhostEbeb667 {#291 …12} -classMetadata: Doctrine\ORM\Mapping\ClassMetadata {#1330 …} } |
| inherit_data | false |
| invalid_message | "The selected choice is invalid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_render | true |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| multiple | false |
| placeholder | "Select a category" |
| 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 |
| query_builder | null |
| required | true |
| row_attr | [] |
| setter | null |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | false |
| upload_max_size_message | Closure() {#1327 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1325 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "choice" "entity" "_add_product_category" ] |
| cache_key | "_add_product_category_entity" |
| choice_translation_domain | false |
| choice_translation_parameters | [] |
| choices | [ 1 => Symfony\Component\Form\ChoiceList\View\ChoiceView {#1411 +label: "Shirts" +value: "1" +data: App\Entity\Category {#1428 …} +attr: [] +labelTranslationParameters: [] } 2 => Symfony\Component\Form\ChoiceList\View\ChoiceView {#1424 +label: "T-shirts" +value: "2" +data: App\Entity\Category {#1453 …} +attr: [] +labelTranslationParameters: [] } 3 => Symfony\Component\Form\ChoiceList\View\ChoiceView {#1413 +label: "Jeans" +value: "3" +data: App\Entity\Category {#1439 …} +attr: [] +labelTranslationParameters: [] } 4 => Symfony\Component\Form\ChoiceList\View\ChoiceView {#1433 +label: "Boots" +value: "4" +data: App\Entity\Category {#1444 …} +attr: [] +labelTranslationParameters: [] } ] |
| compound | false |
| data | null |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1407 -form: Symfony\Component\Form\Form {#1376 …} -errors: [] } |
| expanded | false |
| form | Symfony\Component\Form\FormView {#1408 …5} |
| full_name | "add_product[category]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product_category" |
| is_selected | Closure($choice, $value) {#1410 class: "Symfony\Component\Form\Extension\Core\Type\ChoiceType" } |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| multiple | false |
| name | "category" |
| placeholder | "Select a category" |
| placeholder_attr | [] |
| placeholder_in_choices | false |
| preferred_choices | [] |
| priority | 0 |
| required | true |
| row_attr | [] |
| separator | "-------------------" |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| sortable | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product_category" |
| valid | true |
| value | "" |
_token
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | "e77193d05824ce31791.Mo-cnjvnJlWnRQwP_ArSNS1JFB_QYif9PpkHGiAgepE.AvjU0AOwUh3hEjVQnmmZcXs9R03gFVKRE84qQHByO8t_u_77dtFgGc1xew" |
| View Format | same as normalized format |
Submitted Data
This form was not submitted.
Passed Options
| Option | Passed Value | Resolved Value |
|---|---|---|
| block_prefix | "csrf_token" |
same as passed value |
| data | "e77193d05824ce31791.Mo-cnjvnJlWnRQwP_ArSNS1JFB_QYif9PpkHGiAgepE.AvjU0AOwUh3hEjVQnmmZcXs9R03gFVKRE84qQHByO8t_u_77dtFgGc1xew" |
same as passed value |
| mapped | false |
false
|
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 | "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\CsrfTokenManager {#637 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#638 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#639 …} -namespace: Closure() {#641 …} } |
| data | "e77193d05824ce31791.Mo-cnjvnJlWnRQwP_ArSNS1JFB_QYif9PpkHGiAgepE.AvjU0AOwUh3hEjVQnmmZcXs9R03gFVKRE84qQHByO8t_u_77dtFgGc1xew" |
| data_class | null |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#1467 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 | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| 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_render | true |
| 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 |
| sonata_admin | null |
| sonata_field_description | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#1469 class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" use: { $translator: Symfony\Component\Translation\DataCollectorTranslator {#326 …} $message: Closure() {#1468 …} $translationDomain: "validators" } } |
| validation_groups | null |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "hidden" "csrf_token" "_add_product__token" ] |
| cache_key | "_add_product__token_hidden" |
| compound | false |
| data | "e77193d05824ce31791.Mo-cnjvnJlWnRQwP_ArSNS1JFB_QYif9PpkHGiAgepE.AvjU0AOwUh3hEjVQnmmZcXs9R03gFVKRE84qQHByO8t_u_77dtFgGc1xew" |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#1479 -form: Symfony\Component\Form\Form {#1475 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#1470 …5} |
| full_name | "add_product[_token]" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| horizontal_input_wrapper_class | "" |
| horizontal_label_class | "" |
| horizontal_label_offset_class | "" |
| id | "add_product__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 | [] |
| sonata_admin | [ "name" => false "admin" => false "value" => null "edit" => "standard" "inline" => "natural" "field_description" => null "block_name" => false "options" => [ "html5_validate" => true "sort_admins" => false "confirm_exit" => true "js_debug" => false "skin" => "skin-black" "use_select2" => true "use_icheck" => true "use_bootlint" => false "use_stickyforms" => true "pager_links" => null "form_type" => "standard" "default_admin_route" => "show" "default_group" => "default" "default_label_catalogue" => "SonataAdminBundle" "default_translation_domain" => null "default_icon" => "fas fa-folder" "dropdown_number_groups_per_colums" => 2 "logo_content" => "all" "list_action_button_content" => "all" "lock_protection" => false "mosaic_background" => "bundles/sonataadmin/images/default_mosaic_image.png" "javascripts" => [ "bundles/sonataadmin/app.js" "bundles/sonataform/app.js" ] "stylesheets" => [ "bundles/sonataadmin/app.css" "bundles/sonataform/app.css" "bundles/sonataadmin/admin-lte-skins/skin-black.min.css" ] "role_admin" => "ROLE_SONATA_ADMIN" "role_super_admin" => "ROLE_SUPER_ADMIN" "search" => true ] ] |
| sonata_admin_enabled | false |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_add_product__token" |
| valid | true |
| value | "e77193d05824ce31791.Mo-cnjvnJlWnRQwP_ArSNS1JFB_QYif9PpkHGiAgepE.AvjU0AOwUh3hEjVQnmmZcXs9R03gFVKRE84qQHByO8t_u_77dtFgGc1xew" |