benignware / schedulable

Handling recurring events in rails
MIT License
92 stars 52 forks source link

input_type for schedule_select not recognized #40

Open sureshprasanna70 opened 6 years ago

sureshprasanna70 commented 6 years ago

I'm using rails default form helper along with date_picker. This is my usage of schedulable. <%= f.schedule_select :schedule,input_types: {date: :date_picker, time: :time_picker, datetime: :datetime_picker}, style: :bootstrap, until: true, count: true%> I'm still getting the default date and time pickers instead of bootstrap's date and time pickers. What am I doing wrong?

andreibondarev commented 5 years ago

@sureshprasanna70 Did you ever figure this out? Is using SimpleForm a requirement for the datepicker?

sureshprasanna70 commented 5 years ago

@andreibondarev I wasn't able to figure it out.

andreibondarev commented 5 years ago

@sureshprasanna70 So some of the different style types work and some others do not. I was able to get it working as a flatpicr. I also had to use the master branch, I think the latest release is at least a year behind master: gem 'schedulable', branch: 'master', git: 'git://github.com/benignware/schedulable.git'