polymorphic_embed icon indicating copy to clipboard operation
polymorphic_embed copied to clipboard

Fix: regard type field config when setting hidden fields

Open woylie opened this issue 2 years ago • 3 comments

resolves #67

Branched out from #66, since I'm using the new fields on the reminder module.

woylie avatar Oct 09 '22 09:10 woylie

I'm not sure whether it's possible to find the name of the type field with the arguments passed to to_form/5. If it's not possible, we'd have to pass the schema as an additional argument, which would be a breaking change.

woylie avatar Oct 09 '22 09:10 woylie

@mathieuprog I rebased this branch as well. I'm pretty busy with other stuff at the moment, so I'm not sure whether I can get to fixing this myself. If you have time, feel free to take over.

woylie avatar Nov 13 '22 13:11 woylie

@mathieuprog I rebased this branch as well. I'm pretty busy with other stuff at the moment, so I'm not sure whether I can get to fixing this myself. If you have time, feel free to take over.

This PR is finished and includes the fix. Should be good to go.

woylie avatar May 22 '23 00:05 woylie