Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
formsy-semantic-ui-react
Advanced tools
Lets you create formsy-react forms with Semantic-Ui-React components.
$ npm install formsy-semantic-ui-react --save
You will also need formsy-react
$ npm install formsy-react --save
The Components:
import { Input } from 'formsy-semantic-ui-react';
import { TextArea } from 'formsy-semantic-ui-react';
import { Checkbox } from 'formsy-semantic-ui-react';
import { Radio } from 'formsy-semantic-ui-react';
import { RadioGroup } from 'formsy-semantic-ui-react';
import { Dropdown } from 'formsy-semantic-ui-react';
import { Select } from 'formsy-semantic-ui-react';
You'll need to wrap them with Formsy.Form
import { Form } from 'formsy-react';
For more information on validation, check out Formsy-React's Dcoumentaion
<Form
noValidate
onValidSubmit={ onSubmit }
onInvalidSubmit={ onInvalidSubmit }
>
<Input
name="email"
placeholder="Email"
icon="at"
iconPosition="left"
required
validations="isEmail"
validationErrors={{
isEmail: 'This is not a valid Email',
isDefaultRequiredValue: 'Email is required',
}}
/>
</Form>
To display error messages, pass an element through the errorLabel
prop.
Example: You can display Semaintic-UI-React's <Label/>
compnent:
<Checkbox
...
errorLabel={ <Label basic color="orange" pointing="left"/> }
/>
You can also pass in a custom component with the desired styles.
License: MIT
FAQs
Formsy-React wrappers for Semantic-Ui-React's form Components
The npm package formsy-semantic-ui-react receives a total of 350 weekly downloads. As such, formsy-semantic-ui-react popularity was classified as not popular.
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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.