Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

Bindable minValue and maxValue for DatePicker #310

apicolet opened this issue Jan 4, 2013 · 1 comment

Comments

@apicolet
Copy link
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
                    }
                }}/}
@susant123
Copy link

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

susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013
susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013
susant123 pushed a commit to susant123/ariatemplates that referenced this issue Nov 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants