Type:date

Type:date

SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1
edited March 2014 in Editor
Hello, if we also add:

"type": "date",
"dateFormat": $.datepicker.ISO_8601

we cant press button to add new Data, If we remove type date it will work fine. :(

Replies

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin
    It sounds like there is a problem with the Javascript includes. Are there any warnings shown in your browser's console?

    Allan
  • SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1
    It is the cause because we are using metro ui.

    Error: no such method 'setDate' for datepicker widget instance


    ...3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),...

    But how we could use metro datepicker into your date function??
    Could you post a solution?
  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin
    What is the metro date picker? Could you link to it please.

    (I think we might be crossing e-mails and forum posts here!)

    Allan
  • SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1
    Hello Allan, ok we will write via mail. I had provide a link to our page. And Metro UI you could see here:
    http://metroui.org.ua

    And Datepicker: http://metroui.org.ua/datepicker.html
This discussion has been closed.