I have added custom_fields which has an array of multiple fields. I want to dynamically add each field to the form so can use it like <.input field={@form[:custom_field_id]} />
Here’s the structure of the data:
%Resource{
Id: UUID STRING,
title: "just a test",
custom_fields: [
%{
"id" => Ash.UUID.generate(),
"type" => "text",
"value" => "John",
"name" => "name",
"options" => [],
"description" => "Description of the field",
"is_required" => false,
"default_value" => "New Name",
"order" => 1,
"placeholder" => "Field placeholder",
"label" => "Field Name"
}
]
}


















