Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
4.5.4
-
Ibexa Commerce, Ibexa Content, Ibexa Experience
-
Yes
Description
Steps to reproduce:
- add config for a custom page blockĀ
config/packages/my_block.yaml
ibexa_fieldtype_page: blocks: my_test_block: name: Test Block category: default thumbnail: /bundles/ibexaicons/img/all-icons.svg#date attributes: my_nested_attribute: type: nested_attribute options: name: My options attributes: my_integer: name: Integer type: integer value: 7 my_string: name: Name type: string value: 'foo' my_select: name: Option type: select value: 1 options: choices: 'Option 1': 0 'Option 2': 1 views: default: template: '@ibexadesign/blocks/my_test_block.html.twig' name: Default view
- create templates/themes/standard/blocks/my_test_block.html.twig (can be empty)
- clear all caches (symfony / persistance cache)
- create Landing Page and add Page Block my_test_block
Result;
Values for my_integer, my_string are empty my_select shows 'Option 1'
Expected:
my_integer should be pre-filled with 7
my_string should be pre-filled with foo
my_select should be pre-filled with 'Option 2'