Navigieren auf digital.sbb.ch

Timefield

1. What does the component do?

  • It is used for the entry of a time.

2. When should the component be used?

  • Whenever a time is required from the user.

3. Rules

  • The current time is pre-entered as standard except where it is not useful in the context.
  • The time can be entered without a colon. Entries such as 130, 1.30 or 1,30 are correctly reformated as 01:30 after leaving the field.

4. Variants and statuses

The component has the following statuses:

  • Default
  • Placeholder
  • Focused
  • Disabled
  • Mandatory
  • Readonly

4.1 Standard

Image of the time entry component

Design specification

Code specification