Add 'TimeField' Field Type
Open
@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
- 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).
- 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
- Form Model: https://solidsdk.inrupt.net/public/FormLanguage/examples/FormModel/TimeField.ttl#formRoot
- Data Source: {Your WebID}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.