-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
CHANGELOG.md
Outdated
| - TextArea | ||
| - Date / DateTime / Time fields, using [react-datepicker](https://reactdatepicker.com/) | ||
| - Dropdown | ||
| - Checkbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicitly say this is for a Boolean checkbox, not Tristate?
README.md
Outdated
| **Note**: This is an early preview build of a work-in-progress component and subject to large-scale changes in future releases. | ||
|
|
||
| This component allows you to create a fully functional form, complete with submit, cancel, and validation rules, from a [ShEx](http://shex.io/shex-primer/index.html) Shape. | ||
| This component takes a FormModel (build using the Form Language and [UI ontology](https://www.w3.org/ns/ui#)). A properly formatted FormModel will render a form, complete with constraints. Some things are not yet supported, such as ui:arc links, FormForms, and more. This component is still being improved and worked on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not really that FormForm is not supposed, it is that ui:Choice and ui:Options are not supported.
README.md
Outdated
| ##### Textbox | ||
|
|
||
| Textboxes are the default input type for each field in a shape. In future versions, there will be a way to determine if you want a textbox vs a textarea based on properties such as maxlength. | ||
| Textboxes are the default input type for each field in a shape, and represented in the FormModel by SingleLineTextFields. It can have common constraints like maxLength, as defined in the Form Language |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing sentence period.
README.md
Outdated
|
|
||
| ##### Textarea | ||
|
|
||
| A Textarea is represented in the FormModel by a MultiLineTextField, and similar to textbox has constraints defined by the Form Language |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing sentence period.
README.md
Outdated
| | errorCallback | Function | Function that writes the error message to console | Optional. Overrides the existing error callback function. | | ||
| | messageValidation | Object | null | An Object containing an array of error strings. The error strings will be used in most non-validation situations. | | ||
| | autoSaveMode | Boolean | false | Optional. Determines of the form will autosave or have a save/cancel button. Default is save/cancel button. | | ||
| | Props | Type | Default | Description | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include sentence periods for each Description.
CHANGELOG.md
Outdated
|
|
||
| ### Added | ||
|
|
||
| - FormModel component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ending colon
README.md
Outdated
|
|
||
| ##### Email / Phone field | ||
|
|
||
| Email and Phone Number fields are custom textboxes, similar to the Number fields. They each take a regex pattern from the form model and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing end of sentence "... from the form model and" And what? I'm left in suspense...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always keep them wanting more
brownhoward
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left inline comments.
No description provided.