![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
formsy-semantic-ui-react
Advanced tools
Readme
Quicky create formsy-react forms with Semantic-Ui-React's Form Components.
npm install (or yarn add) formsy-semantic-ui-react
You will also need formsy-react
npm install (or yarn add) formsy-react
// ES6 imports
import { Form, Input, TextArea, Checkbox,
Radio, RadioGroup, Dropdown, Select } from 'formsy-semantic-ui-react';
// ES5
var Input = require('formsy-semantic-ui-react').Input;
/** and so on for the rest of the Components **/
const App = props => {
return (
<Form onValidSubmit={ onValidSubmit } loading={ props.isLoading }>
<Form.Input
name="email"
label="Email"
validations={isEmail}
validationErrors={{ isEmail: 'Not a valid email' }}
/>
</Form>
)
}
These props give you more control over behavior/markup
Prop | Description | Type | Default | Available on | Required |
---|---|---|---|---|---|
errorLabel | Used to Show input errors next to inputs. Any children get replaced by getErrorMessage() | string or class/func | none | All except Form | No |
InstantValidation | Whether or not to show Validation Errors as soon as user starts interacting with input | bool | false | Input | No |
Go to the example folder to see some examples of how the components are used.
For more information on building and validating formsy-react
forms, take a look at Formsy-React's Dcoumentaion
To run the example app, clone this repo and run:
npm/yarn install
npm/yarn run example-app
Then go to localhost:8080
Tests are done using Mocha, chai, sinon, and enzyme on jsdom. To run the tests,
npm/yarn install
npm/yarn run test // or npm run test:watch
License: MIT
FAQs
Formsy-React wrappers for Semantic-Ui-React's form Components
We found that formsy-semantic-ui-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.