Answer the question
In order to leave comments, you need to log in
Why is the data from the repeater type field no longer displayed?
Help solve the problem!
Created in October CMS using plugin Builder entity Article (Article) - table and model. alex_articles_ table and Article model. In the table, I created the product field of type Text.
In the Article model, I specified the repeater type for the product (List of goods) field, that is, it will store a list of elements where each element (product) will have the following properties: product_element - description, product_name - product name, product_yotube - youtube video embed code. Specified in the model that the product will be jsonable to store complex data.
Product field structure (List of products)
product:
label: 'Список товаров'
prompt: 'Add new item'
span: full
type: repeater
form:
fields:
product_element:
label: Товар
size: large
span: full
type: richeditor
product_name:
label: 'Название товара'
span: auto
type: text
product_yotube:
label: 'Ролик о товаре'
size: large
language: php
span: auto
type: codeeditor
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question