Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bindable minValue and maxValue for DatePicker #310

Open
apicolet opened this Issue Jan 4, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

apicolet commented Jan 4, 2013

It could be useful to make minValue and MaxValue bindable in DatePicker.
This would allow for instance a couple a DatePickers to function as a kind of date range picker, like :

{@aria:DatePicker {
                label: "From", 
                bind:{
                    value: {
                        to:"fromDate",
                        inside:data
                    },
                    maxValue: {
                        to:"toDate",
                        inside:data
                    }
                }}/}

{@aria:DatePicker {
                label: "To", 
                bind:{
                    value: {
                        to:"toDate",
                        inside:data
                    },
                    minValue: {
                        to:"fromDate",
                        inside:data
                    }
                }}/}

This is a nice suggestion. I am looking into this.

@susant123 susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013

sbehera fix #310 Bindable minValue and maxValue for DatePicker d5d6030

@susant123 susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013

sbehera fix #310 Bindable minValue and maxValue for DatePicker e220037

@susant123 susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013

sbehera fix #310 Bindable minValue and maxValue for DatePicker 4b10c00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment