Overview
Storing times in plain text fields invites typing mistakes. This module provides a time picker widget that developers apply to a character field in a form view. Users pick or type a time and the value is stored as text. It is a developer helper for any module that needs a simple time field.
Usage steps
- 1
Apply the widget to a field
Developers set the time widget on a character field in a form view. No model change is needed.
- widget attribute on char field
- 2
Enter time values
Users pick or type a time value in the field and it is stored as text. The input follows a fixed time format.
- Time picker input
- 3
Validate the format
The component normalizes the entered value so malformed times are corrected or rejected. Records keep clean text.
- Client-side normalization
- 4
Reuse across modules
Any module can depend on the widget and reuse it on several fields. It ships only web assets and templates.
- Owl template
- No dependencies
Screens
Illustrative mockups with placeholder data.
Roles
| Role |
|---|
| Developer |
| Any internal user |
Dependencies
Want to know more or try this app? Contact us
We can arrange a demo or a trial and answer your questions about Time Widget.