save two bits of data for each option in the datasource #413
-
I am trying to create an experience that shows options with an associated score eg favoutite sports: I get the sport names from an injectable service and have made a custom data source which worked perfectly to present them as a list, but I am having trouble figuring out how to add a value to each of them. I want to use the custom angular template to give a range slider but don't see a way to save the value + the name of the sport. Is the repeatable text box input the only one that will work for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@james-whittington1 Interestingly, a similar question came up on the Discord chat last week, (🛫). In a nutshell, there's nothing available out of the box in Contentment to do this. Options are, use Block List or Contentment's Content Blocks, then you have control over the element-type. My reply on Discord suggests that it could be possible using the internal Data Table editor to configure each row with Data List and Slider property-editors. |
Beta Was this translation helpful? Give feedback.
@james-whittington1 Interestingly, a similar question came up on the Discord chat last week, (🛫).
In a nutshell, there's nothing available out of the box in Contentment to do this.
Options are, use Block List or Contentment's Content Blocks, then you have control over the element-type.
or to roll your own custom property-editor, then you'd have complete control.
My reply on Discord suggests that it could be possible using the internal Data Table editor to configure each row with Data List and Slider property-editors.