Skip to content

Add some examples to README#27

Open
nathsimpson wants to merge 2 commits intomasterfrom
examples-in-readme
Open

Add some examples to README#27
nathsimpson wants to merge 2 commits intomasterfrom
examples-in-readme

Conversation

@nathsimpson
Copy link
Copy Markdown

No description provided.

@nathsimpson nathsimpson requested a review from emmatown February 17, 2021 21:39

## Available scalas
Magical Forms comes with these fields out of the box.
- text
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

text doesn't exist - there is only scalar and object

```jsx
const questionForm = field.object({
capitalOfNewSouthWales: field.text({
validate: validate((value) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This isn't the validation API in magical forms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants