문제

The client side validations gem is working fine with simple_form and formatastic but if i use simple_nested_form it is not working. any solution would be helpful or is there any workaround to get client side validtions working on simple_nested_form?

도움이 되었습니까?

해결책

There is no adapter currently written for simple_nested_form. For every form builder out there ClientSideValidations needs to be customized. This became very difficult to maintain in the core gem so I have since split it into different adapters. I outline this here: http://reefpoints.dockyard.com/ruby/2012/01/22/client-side-validations-goes-modular.html

Unfortunately my time has been very limited over the past few months and I haven't been able to get much work done on completing this effort.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top