One schema in share component

5 views
Skip to first unread message

Robin Ildefonso Ildefonso

unread,
Aug 28, 2024, 2:10:35 AM8/28/24
to structr
Hello Sir,

I would like to inquire if it's possible, when I want to use shareable component but different set of data in one schema

For example i have 1 schema 

Schema 
name string []
       Abstract1
       Abstract2
description
       Description1
       Description2
 Link
      Link1
      link2

In the shared component 

Can we have a conditional function that will handle those params or how will I find by ID to get the specific name

Shared component 
Repeater
 find(abstract, {by id}) ->> example
 so if I use my shareable component it will get the Abstract2 ? 

Example 
Page1
Shared Component
Abstract1

Page2
Shared clone Component
Abstract2
 

 

Reply all
Reply to author
Forward
0 new messages