cdcharlebois / DatePair

Separate Date and Time pickers for a Mendix Datetime
2 stars 3 forks source link
mendix-widget

typora-copy-images-to: ./assets typora-root-url: .

badge badge

DateTime

Here it is

Installation

  1. Install the widget in your project
  2. Include the DateTime widget on a page where you'd like to display an independent date and time picker for a Datetime attribute. Individual widgets Date, and Time are also available, with just their specific set of properties.
  3. Configure the widget: F4033A56-F66C-4A78-9440-75B74C12FB78
Date Settings

A0942FB4-1D46-4029-B175-B240D007FBE6

Date Restrictions

52D4B46E-BF9D-4ABD-A198-266E19CBF955

Time Settings

F29E1981-7D6E-463F-A756-4831AC17C11A

Time Restrictions

96A8138E-2874-49E9-8392-8A7E6C277000

Time Entity, Times Microflow, Time Attribute : In conjunction, these properties allow you disable a list of days. Configure a microflow Times Microflow, such that it returns a list of entities Time Entity, having an attribute Time Attribute. The times present in Time Attribute will be greyed out in the picker and unavailable for the user to select.

Disabled Times : Comma-separated list of times, in 24h format.

Typical usage scenario

Known Limitations

Based on the Mendix Widget Boilerplate

See AppStoreWidgetBoilerplate for an example