Multi input repeatable panel: how to? #104
-
Hi all, The data source is from the titleStmt/respStmt in a TEI file:
My source looks like this:
It works but when I click on the Add button I see an empty space: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
could you please edit the above again to be formatted - just mark the texf and click the 'add code' button above. |
Beta Was this translation helpful? Give feedback.
-
at first sight you have some additional element inside |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
in the markup above you forgot the fx-control elements:
As input is the default control you don't need to write it explicitly in the second fx-control. |
Beta Was this translation helpful? Give feedback.
-
@orazionelson you hit a bug indeed. When inserting i see that it inserts fine but without the child elements There's a workaround however by using the
however you need to create a xml file containing the template looking like this:
Finally add the instance to your model:
That should be an external file not an inline instance. I'll create a testcase to fix that issue but might take some time. |
Beta Was this translation helpful? Give feedback.
@orazionelson you hit a bug indeed. When inserting i see that it inserts fine but without the child elements
<resp>
and<name>
. That why there are no controls. If there's nothing they can bind to they become nonrelevant.There's a workaround however by using the
origin
attribute like so:however you need to create a xml file containing the template looking like this:
Finally add the instance to your model:
That should be an external file not an inline …