reform icon indicating copy to clipboard operation
reform copied to clipboard

inherited validation blocks ignore :with option

Open fran-worley opened this issue 7 years ago • 2 comments

This probably applies to other validation blocks, but when the base block doesn't include form it doesn't get injected as a param.

In my example this is a validation block inherited from a block in the superclassed form/contract.

reform v2.3.0.rc1 (and rc2 branch)

fran-worley avatar Aug 02 '17 18:08 fran-worley

I cannot make it work in the default group either. As a workaround I use options[:form]

ddidier avatar Sep 11 '17 20:09 ddidier

@ddidier this is a confirmed bug.

fran-worley avatar Sep 11 '17 20:09 fran-worley