I built a ui component form and it's a compilation of <field> tag and <htmlContent> tag. This is the htmlContent :
<htmlContent name="resource">
<block class="Namespace\ModuleName\Block\Adminhtml\Package\Role\Tree" name="package_form.resources_access.resource_tree"/>
</htmlContent>
I loaded a template inside the block Namespace\ModuleName\Block\Adminhtml\Package\Role\Tree and created some dynamic input text fields in the template.
The problem is my input text field inside htmlContent didn't submit with other <field>
Did I miss something when I was creating the htmlContent?