Client side validations does not with the latest simple form
We upgraded to the latest simple form and looks like client side validation does not work any more.
Same issue with:
- client_side_validations (3.1.0)
- simple_form (1.5.1)
Which version (of either) do you recommend?
i'm using those same versions and the validations are working, but appearing twice. Using ruby 1.8.7 & rails 3.1.0
This will be fixed in ClientSideValidations 4.0 which I hope to have out soon.
It works with SimpleForm 1.5.1 and the main branch.
#For form generation gem "simple_form" ,'1.5.1' #For client side validations gem 'client_side_validations' , :git => 'git://github.com/bcardarella/client_side_validations.git'
SimpleForm has been removed from what will be ClientSideValidations 4.0 and extracted to an adapter gem: http://github.com/bcardarella/client_side_validations-simple_form
Is this the same issue?
https://github.com/rafaelfranca/simple_form-bootstrap/issues/4
@bcardarella, I've posted a hacky solution in the issue track referenced above. I've noticed that http://github.com/bcardarella/client_side_validations-simple_form is still under development, so I hope you can extract something from there. It's definitely not the right way to pull this off, but I think you could get some insights for the current simple_form wrappers API.
https://github.com/rafaelfranca/simple_form-bootstrap/issues/4#issuecomment-3006676
As far as I can tell, this issue still persists. ClientSideValidations 4.0 has not been released in the meantime and the client_side_validations-simple_form repository seems to be deleted. Is there any chance I can get this to work? I'd be glad to help if I can.
@masone it was moved to https://github.com/dockyard/client_side_validations-simple_form