fastn
fastn copied to clipboard
`children` type in `record` not working
-- record person:
caption name:
children ui:
-- person list people:
-- person:
name: hello
-- ftd.text: Hello
-- end: person
-- end: people
-- display-person: $obj.name
ui: $obj.ui
$loop$: $people as $obj
-- component display-person:
caption name:
children ui:
-- ftd.column:
-- ftd.text: $display-person.name
-- ftd.column:
children: $display-person.ui
-- end: ftd.column
-- end: ftd.column
-- end: display-person
This is not working. The ui
field of the children
type in the record is not accepting the ftd.ui
elements when passed as subsection.
But if we pass it as a block header, this is working. Checkout the code below:
-- person list people:
-- person:
name: hello
;; `ui` value passed in block header
-- person.ui
-- ftd.text: Hello
-- end: person.ui
-- end: people
@Arpita-Jaiswal I would like to pick this Please assign
@Arpita-Jaiswal I would like to pick this Please assign
Hi @ashutosh887, Sure. If you need any help, please contact @Heulitig.