clockpicker icon indicating copy to clipboard operation
clockpicker copied to clipboard

reset time

Open rizerzero opened this issue 11 years ago • 5 comments

hi, i made the input as read only but when a user want to rest the time to blank or none it's not possible so i suggest a reset button beside the validation button thank you

rizerzero avatar Jul 04 '14 15:07 rizerzero

I second this request. The ability to reset the time to blank (or some user-defined string) would be fantastic. Thanks for a great widget!

cnighswonger avatar Sep 23 '14 23:09 cnighswonger

Hi tried to implement reset function tested it and it works on my local environment, but not i am not sure Please review the code

ClockPicker.prototype.resetValue = function(){
    this.input.prop('value', '');
    value = ''
}

vsamiev avatar May 30 '15 17:05 vsamiev

Yes a reset option is the only thing that is missing in my opinion. Other than that is is an awesome widget. Thanks for that. Any idea how to get such a reset function? I would like to be able to reset it to the placeholder text that is show initially when nothing has been selected yet.

@vsamiev: How can I review your code (where to place it and how to call it).

PeterJC91 avatar Oct 20 '15 22:10 PeterJC91

+1 for this!

simonnagl avatar Dec 05 '17 11:12 simonnagl

how to use reset function any example ?

anuraggupta11 avatar Jan 30 '18 16:01 anuraggupta11