Jump to content

grocery crud w/ bootstrap theme - datepicker issue

datepicker bootstrap theme

  • Please log in to reply
No replies to this topic

#1 Noel Calonia

Noel Calonia

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 16 September 2015 - 01:41 PM

i confuse about the datepicker of grocery crud since its datepicker was jquery-ui style, i just want to modify it to my bootstrap theme with this:
$crud->callback_add_field('bday', function () {
            return '<input type="text" id="example-datepicker" name="example-datepicker" class="form-control input-datepicker" data-date-format="mm/dd/yy" placeholder="mm/dd/yy">';

is there anything wrong in my callback code? plz answer asap, any help will much appreciated, thanks :)


Also tagged with one or more of these keywords: datepicker, bootstrap theme

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users