You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you check for javascript errors in developer tools (F11 in the browser) this might be the cause for rendering only the first elements and probably for the rest of issues.
I needed to render select components inside listinputs so I setup the template as follows:
`
and the field definition as follows:
{ name: "Field Filters", key: "$fields", inputtype: ListInput, data: { options: [ { placeholder: "Select the field", text: "Field", key: "$field", inputtype: SelectInput, data: { options: [] } }, { placeholder: "Select the operation to apply to this field", text: "Operation", key: "$operation", inputtype: SelectInput, data: { options: [] } }, { placeholder: "Select the comparator to apply with this operation", text: "Comparator", key: "$comparator", inputtype: SelectInput, data: { options: [] } }, { placeholder: "Enter the name you want the field to be called", key: "$as", text: "As", inputtype: TextInput } ] }, onChange: function(node, value, input) { console.log(value); // $(node).find('thead').append('<th>'+ +'</th>') // $(node).find('tbody tr').append('<td>{{' ++ '}}</td>') } }
The issues are:
I'm curious is it possible to render the input type from the option directly in the template by calling it's init function?
How can I wire the add and remove buttons?
Thanks
The text was updated successfully, but these errors were encountered: