An alternative to useing datetime_select in Rails

521 Views Asked by At

I'm not such a fan of using datetime_select. I think it renders ugly and isn't easy to deal with on post back.

How do most people deal with it? Wouldn't it be easier to use a plain textbox and use javascript to validate the input as a date? I will be persisting it as a DateTime value.

1

There are 1 best solutions below

1
On BEST ANSWER

I used a text box with a jquery datepicker and all was well in the universe.