Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.

Conversation

@james-martin-jd
Copy link
Contributor

No description provided.

CHANGELOG.md Outdated
- TextArea
- Date / DateTime / Time fields, using [react-datepicker](https://reactdatepicker.com/)
- Dropdown
- Checkbox
Copy link
Contributor

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.
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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 |
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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...

Copy link
Contributor Author

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

Copy link
Contributor

@brownhoward brownhoward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left inline comments.

@james-martin-jd james-martin-jd merged commit 0208a40 into release/0.5.0 Dec 18, 2019
@james-martin-jd james-martin-jd deleted the docs/changelog branch December 18, 2019 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants