Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
jenesius-vue-form
Advanced tools
Heavy form system for Vue.js ( Only 3 Version ). Library provides a wide range of functionality and interaction with form elements.
Where the spirit does not work with the hand there is no art. @Leonardo da Vinci
To create a form, you just need to create an instance. JenesiusVueForm will do most of the work for you.
import {Form} from "jenesius-vue-modal"
const form = new Form()
The reactive form state can be obtained from the useFormState hook:
import {useFormState} from "jenesius-vue-modal"
const {state} = useFormState(form) // disabled changed
Composite objects (For example, Address, which contains country, city etc.) can be created by calling the useProxyState hook.
import {useProxyState} from "jenesius-vue-modal"
const {state} = useProxyState(name);
In this example, the Composite field will automatically subscribe to the parent form, and will also serve as a bridge for all its child elements.
When using the built-in input field, the library will do everything for you. You don't need to sign it on the form yourself.
import {InputField} from "jenesius-vue-form";
In most cases, you will use your own input fields. In this case, you need to implement a small layer:
<input type = "text"
@input = "input.change($event.target.value)"
:value="state.value"
:disabled = "state.disabled"
>
import {useInputState} from "jenesius-vue-modal"
const {state, input} = useInputState(props.name)
// state - {value, disabled, errors}
I recommend going to the documentation site, which provides information on validation, form lock/unlock, and all the states of the form and input fields.
FAQs
Heavy form system for Vue.js
The npm package jenesius-vue-form receives a total of 187 weekly downloads. As such, jenesius-vue-form popularity was classified as not popular.
We found that jenesius-vue-form demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.