SolidOS / SolidOS/solid-ui

Add 'TimeField' Field Type

Open
#134 0 comments 0 reactions 1 assignee View on GitHub

@timbl is already working on this.

Since Dec 16, 2019.

enhancement
Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.