Closed woylie closed 4 months ago
PolymorphicEmbed.HTML.Form.to_form/5 always sets the name of the hidden input field for the type to __type__, even if a custom type field is defined in the schema.
PolymorphicEmbed.HTML.Form.to_form/5
__type__
https://github.com/mathieuprog/polymorphic_embed/blob/master/lib/polymorphic_embed/html/form.ex#L153
See #68 for tests.
PolymorphicEmbed.HTML.Form.to_form/5
always sets the name of the hidden input field for the type to__type__
, even if a custom type field is defined in the schema.https://github.com/mathieuprog/polymorphic_embed/blob/master/lib/polymorphic_embed/html/form.ex#L153
See #68 for tests.