
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@digifi-los/form-creator
Advanced tools
Form Creator is a class that helps with creating a Responsive Form manifest. By using the given class methods, you can easily add formElements (as well as other fields) to the Responsive Form.
Options Properties | Type | Required | Example |
---|---|---|---|
gridProps | Object | N | { className: 'test' } |
validations | Object | N | { full_name: [ { constraint: 'presence', message: '^Required', } ] } |
< Any Property Name > | Object | Y | { type: 'text', name: 'full_name', placeholder: 'Full Name', hasValidations: true, } |
instance.addFormElements({
gridProps: {
key: 'randomKey()',
},
validations: {
'address_street': [{
constraint: 'presence',
message: '^Your home address is required.',
}, {
constraint: 'length',
maximum: 100,
}]
},
group1: {
type: 'text',
label: 'Home Address',
name: 'address_street',
placeholder: 'Street Address',
hasValidations: true,
},
});
Parameters | Type | Required | Example |
---|---|---|---|
property | String | Y | 'props.ref' |
value | Any | Y | true |
instance.addFields('props.ref', true); // sets unflattened props.ref to true on the form
Options Properties | Type | Required | Example |
---|---|---|---|
url | String | Y | '/application/form_submission' |
method | String | Y | 'post' |
successCallback | String | N | 'func:this.props.loginUser' |
errorCallback | String | N | 'func:this.props.reduxRouter.push' |
instance.addOnSubmit({
url: '/application/form_submission',
method: 'post',
successCallback: 'func:this.props.loginUser',
errorCallback: 'func:this.props.reduxRouter.push',
});
instance.getForm();
To install
$ npm install @digifi-los/form-creator --save
To uninstall
$ npm uninstall @digifi-los/form-creator --save
Make sure you have grunt installed
$ npm install -g grunt-cli jsdoc-to-markdown
For generating markdown documentation
$ grunt doc
$ jsdoc2md lib/*.js index.js > doc/api.md
Make sure you have grunt installed
Run the following command to test and return coverage
$ grunt test
FAQs
DigiFi Form Creator
The npm package @digifi-los/form-creator receives a total of 1 weekly downloads. As such, @digifi-los/form-creator popularity was classified as not popular.
We found that @digifi-los/form-creator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.