Componenti
Selettore dell'ora
Seleziona un orario con un intervallo scelto.
Utilizzo
Base
:
HTML
<bs:bsui-time-picker step="15" />Fasce di mezz'ora
Un orario precompilato che si regola su incrementi di trenta minuti.
:
HTML
<bs:bsui-time-picker name="appointment" defaultValue="13:30" step="30" />Orario di apertura
Due selettori con etichetta che indicano l'inizio e la fine della giornata lavorativa.
:
:
HTML
<bs:bsui-stack direction="row" gap="4" align="start">
<bs:bsui-field>
<bs:bsui-field-label text="Opens" />
<bs:bsui-time-picker name="opens" defaultValue="09:00" step="15" />
</bs:bsui-field>
<bs:bsui-field>
<bs:bsui-field-label text="Closes" />
<bs:bsui-time-picker name="closes" defaultValue="17:30" step="15" />
</bs:bsui-field>
</bs:bsui-stack>Disabilitato
Entrambi i segmenti mantengono il proprio valore, ma non consentono modifiche.
:
HTML
<bs:bsui-time-picker defaultValue="08:00" disabled="true" />Attributi
| Attributo | Tipo | Predefinito |
|---|---|---|
name | text | — |
defaultValue | text | — |
step | number | 1 |
disabled | toggle | false |
nameAlt | text | — |
onChange | text | — |
value | text | — |