I'm trying to hide foreign key fields from my layers in Input. User is supposed to access child features via parent feature form. I've been unsuccessful for now and I'm not sure if this is a bug or if I am missing something.
I've created an example project. In it I've created two layers, one parent and one child. Relation is set in QGIS and it is 1:N. I have a simple form setup and depending on if I have the child table's field containing the parent key in the form or not, Input fails to assign relation value to said field.
An example of excluding the field in child table form (Input doesn't work):

An example of including the field in child table form (Input works):

It is important to note that I'm accessing child table form through existing parent feature. In QGIS this happens with identify tool. In Input I press the parent feature and access the second tab in form.
I have an example project Ubiguville/relation_bug which is public.