Closed bau720123 closed 9 years ago
For the hide and show of the clearButton I'm fixing this now.
Regarding with the return output: If you click the clear button it will return a string "clear" the same as when you click the cancel button it will return a string 'cancel' so that you will know which of the buttons you actually clicked, and if you click the done button you will get a return of a date
I just pushed my commit, the clear button can be hidden now. Maybe you could also check @bau720123
thanks for @xelakz I will wait the new release plugin version in PGB because of I am only use PGB (build.phonegap.com)
thanks @xelakz problem solved in 1.1.3
when in Android 4.4.2 I set "clearButton" to false,it will hidden the "clearButton" I set "clearButton" to true,it will show the "clearButton",and when I click it,it will trigger the "date"' => clear
when in ios 8.1 (iPhone 6+) no mater I set "clearButton" to true or false,it will still show the "clearButton" and when I click it,it will trigger the "date"' => nothing (no any feedback or wrong message)