Micusoft / mobiscroll

Automatically exported from code.google.com/p/mobiscroll
0 stars 0 forks source link

Feature Req: Support clear button on the picker #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What is the expected output? What do you see instead?
Similar to the iOS native datetime picker, would be nice to see a clear button 
to remove already selected value.

What version of the product are you using? On what operating system?
Playbook, android

Please provide any additional information below.
Attribute to make the clear button visible / invisible would be nice too.

Original issue reported on code.google.com by jasperc...@gmail.com on 11 Jan 2012 at 5:33

GoogleCodeExporter commented 8 years ago

Original comment by diosla...@gmail.com on 16 Jan 2012 at 9:08

GoogleCodeExporter commented 8 years ago
Concur.  Without this feature the concept of a null date is not supported.  
This would be awesome. Thanks.

Original comment by akoz...@gmail.com on 11 Apr 2012 at 5:40

GoogleCodeExporter commented 8 years ago
Issue 82 has been merged into this issue.

Original comment by diosla...@gmail.com on 23 Apr 2012 at 12:04

GoogleCodeExporter commented 8 years ago
You can find an example of a "Clear" button on http://demo.mobiscroll.com

Original comment by kovlex.l...@gmail.com on 9 May 2012 at 10:11

GoogleCodeExporter commented 8 years ago
Whith this you will transform the Cancel button to the clear button.
Bye.
        el.mobiscroll().date({
            ...,
            onCancel : function(val, scroller) {
                this.value = '';
                return true;
            }
        }); 

Original comment by emilio.d...@gmail.com on 30 Dec 2012 at 10:27