Mendix Bootstrap Datepicker Description
Feature rich datepicker based on
http://eternicode.github.io/bootstrap-datepicker
Date picker is cases where more options are required.
- Optionally starts when entering the field, typing a date is also possible
- Optionally inline (always show calendar)
- First day of the week option
- Show week number option
- Option to make days of the week not selectable
- Version for a date range to enter two dates
- Optional autoclose
- Optional highlight today
- Add a time (default 12:00) to the date
- Limit the date relative to current date. e.g. +/- 3 months.
- English, German, French and Dutch languages.
- Optional startview to start on year or month level
Download from App Store
Connect to the date attribute(s), select the options.
Type:
- Text input: show just an input, display the date picker when tabbing/entering the field
- Component: Adds a button to show the datepicker
- Embedded: Show the datepicker in the form. Not as popup
- Range: show two date (don't forget to connect two attributes)
Week starts: By default it starts on sunday (0). Change it to 1 of monday
Today button: Show a button to move to today
Show clear button: Show a button to clear the entered date.
Highlight today: Today is colored
Show weeknumbers: extra first columns with weeknumbers
Disabled days: Comma separated list. If provided these dates can not be selected (0,6 will disable sundays and saturdays)
Auto close: If a date is selected the date picker form is closed.
Default time: if a date is selected the time part is set to this.
Limit start date: -3d will limit the selectable days starting from 3 days ago. w=weeks, m=months, y=years. Leave empty if not applicable.
Limit end date: Same as start date but use a combination for a feasable date.
Text between dates: If the type is 'range' is displayed between the two dates. If omitted it will be 'to'.
-
Q: What if I don't connect a second date attribute with type range?
-
A: It will be displayed as a single date.