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

Add settings for input type date. #2163

Merged
merged 1 commit into from
Oct 24, 2018
Merged

Add settings for input type date. #2163

merged 1 commit into from
Oct 24, 2018

Conversation

dertin
Copy link

@dertin dertin commented Apr 25, 2018

It is useful for birthday dates.

...
fields: {
'birthday':{
            title: 'Birthday',
            type: 'date',
            displayFormat: 'yy-mm-dd',
            changeMonth: true,
            changeYear: true,
            yearRange: '-100y:c+nn',
            maxDate: '-1d',
            display: function (data){
                return data.record.birthday;
            }
  }
}
...

@hikalkan hikalkan added this to the v2.6.0 milestone Apr 26, 2018
@hikalkan hikalkan merged commit 8338697 into volosoft:master Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants