Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
jenesius-vue-form
Advanced tools
Heavy form system for Vue.js v3. Library provides a wide range of functionality and interaction with form elements.
Heavy form system for Vue.js v3. Library provides a wide range of functionality and interaction with form elements.
Для создавния формы, необходимо просто создать экземпляр. JenesiusVueForm сделает большую часть работы за вас.
import {Form} from "jenesius-vue-modal"
const form = new Form()
Реактивное состояния формы можно получить из useFormState хука:
import {useFormState} from "jenesius-vue-modal"
const {state} = useFormState(form)
Для работы удобно использовать композитный элемент, который хранит в себе другие инпуты, но не добавляет никакой логики для работы с формой. Отличный пример тому инпут address, который в себе может хранить такие поля, как: city, country, street.
import {useProxyState} from "jenesius-vue-modal"
const {state} = useProxyState(name);
Для того, чтобы связать поле input с формой нужно просто выполнить следующий хук:
<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);
Данная библиотека также предоставляет набор компонент, которые можно легко испол ьзовать для построения форм:
<input-field type = "text" name = "username"/>
<script>
import {InputField} from "jenesius-vue-form"
</script>
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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.