Skip to Main Content
Builder.io Ideas
Categories Visual Editor
Created by Tim
Created on May 11, 2023

if you are mapping a data model or data object to a custom component, it would be great if Builder could automatically map values in that object to the relevant fields

Lets say you have an article data model with title, image and author fields and an article card component. Currently you have yo add the article data to the page, and then select each field and set up the data binding. It would be great to select just the entire data model entry and then builder can guess the mapping based on the field names

  • Attach files
  • Tim
    Reply
    |
    May 18, 2023

    This is possible using the object input type and just setting the shape of the object to match the input fields of the component