reform-rails icon indicating copy to clipboard operation
reform-rails copied to clipboard

undefined method `full_messages_for' for Reform::Contract::Result

Open Uysim opened this issue 5 years ago • 5 comments

When submit form and have validation error

Uysim avatar Jan 16 '19 11:01 Uysim

are you pretty sure? this is used in a lot of projects, could you please provide more information?

fernandes avatar Jan 16 '19 11:01 fernandes

Sorry I am not sure about this. But do you think maybe because I am using simple_form with dry validation? Because when I use active record validation and simple form it is working fine.

Uysim avatar Jan 16 '19 12:01 Uysim

if you could, please, provide a code reproducing your issue

we have tests for your case, it's covered, if you are in an edge case, we need your help to debug it

fernandes avatar Jan 17 '19 11:01 fernandes

@Uysim I am seeing the same issue... Seems to be an issue with Dry/Reform <-> Simple Form.

ziyan-junaideen avatar Dec 14 '22 17:12 ziyan-junaideen

Created the fix - https://github.com/trailblazer/reform/pull/539

yogeshjain999 avatar Dec 24 '23 09:12 yogeshjain999