SolidOS / SolidOS/solid-ui

Add 'TimeField' Field Type

Offen
#134 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@timbl arbeitet bereits daran.

Seit 16.12.2019.

enhancement
Vorherrschende Sprache
TypeScript
Sterne
153
Forks
46
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
7

Beschreibung

User Story

As a Form Designer, I want the ability to specify time fields within the Form Model, so users can enter times.

Acceptance Criteria

  1. In a Form Model, include a 'TimeField' data field where can optionally define the minimum and maximum values for the entered time (in seconds since midnight).
  2. When the Form Model is rendered, an appropriate Time picker is displayed allowing the user to enter the time.

Proposed TimeField Design

:trainArrivalTime a ui:TimeField ;
    ui:label "Arrival Time: "@en ;
    ui:minValue "06:00:00" ;
    ui:maxValue "21:59:59" ;
    ui:property TrainTrip:arrivalTime .

Example Form Model

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.