Custom time picker version 11

0
Good Afternoon,We have upgraded our app to version 11. we have a time picker where you can select a time set at half hour intervals. In version 11 the widget has stopped working and now looking like we have type in which is not convenient. We need something like this to pop up. Does anyone know how I can get that in version 11.Thanks in advance
asked
2 answers
0

Hi Jessica,

This is most likely related to widget compatibility with Mendix 11 or changes in the underlying input behavior after the upgrade.

I would recommend the following approach:

1. Check widget compatibility

  • Verify whether the Time Picker widget you were previously using supports Mendix 11.

  • Check the Mendix Marketplace for an updated version of the widget.

  • If an updated version is available, replace the older widget and test it again.

2. Use a dropdown as an alternative

If the existing widget is no longer supported, you can use a dropdown with predefined time slots at 30-minute intervals, such as:

  • 09:00 AM

  • 09:30 AM

  • 10:00 AM

  • 10:30 AM

This avoids manual time entry and ensures users select valid time intervals.

3. Consider a custom Time Picker widget

If you want to retain the popup interface shown in your previous version, you can create a custom React-based widget for Mendix 11.

It can provide:

  • Popup-based time selection.

  • Configurable time intervals (30 minutes).

  • Hour and minute selection.

  • A user-friendly interface similar to a traditional time picker.

My recommendation: First check for an updated Marketplace version of your existing widget. If it is not compatible with Mendix 11, a custom Time Picker widget or a dropdown with predefined intervals would be a practical alternative.

Hope this helps!

answered
0

Hi Jessica,

If you want to retain the old popup-style time selection experience in Mendix 11, I would recommend using a Combo Box with predefined time slots rather than relying on the standard Date Picker.

The standard time input can behave differently depending on the browser and the Mendix client version, so it may not provide the same popup experience you had previously.

Recommended solution: Combo Box with 30-minute intervals

1. Create a helper entity

Create a non-persistent entity called TimeSlot with:

  • DisplayTime (String)

  • Hour (Integer)

  • Minute (Integer)

2. Create a datasource microflow

Generate the available time slots at 30-minute intervals:

00:00
00:30
01:00
01:30
...
22:30
23:00
23:30

This gives you 48 selectable time slots.

3. Configure the Combo Box

Use a Combo Box with:

  • Selectable objects: Microflow returning the TimeSlot list

  • Caption: DisplayTime

  • Search: Disabled, if supported by your Combo Box version

  • Clear selection: Configure according to your requirement

This provides a dropdown-style time selection without requiring users to type the time manually.

4. Update the original DateTime attribute

When the user selects a time slot, use a nanoflow or microflow to combine the selected hour and minute with the required date.

For example, if the selected date is 21/11/2026 and the user selects 14:30, store:

21/11/2026 14:30

Be careful with the DateTime attribute's localization and time-zone settings, especially if the value represents a time of day rather than an absolute timestamp.

Alternative: Custom Time Picker Widget

If you specifically need the old clock-style popup with clickable hours and minutes, you can use or develop a React-compatible custom time picker widget.

For Mendix 11, ensure that the widget explicitly supports the React Client. Older Dojo-based widgets may not behave correctly.

My recommendation: If your requirement is simply to select a time in 30-minute intervals, the Combo Box approach is predictable and easy to maintain. If you need the exact old clock popup appearance, a compatible custom widget is the better choice.

Hope this helps! If you find this answer helpful, please mark it as the accepted answer.

answered