
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
formvuelatte
Advanced tools
Visit FormVueLatte 2.0's full documentation for more detailed information and examples.
FormVueLatte is a zero dependency library that allows you to generate schema-driven forms with extreme ease.
The schema that you use for your form can be as flexible as you need it to be, it can be modified at run-time with an expected reactive result, and can even be fetched directly from you backend’s API.
Important
FormVueLatte
is a bring-your-own-components (BYOC) library!
We do not provide any base components for your to build your forms. There are numerous component libraries out there that do a great job of providing carefully constructed components for you to use, and FormVueLatte
does a great job at allowing you to bring those external components to your forms, or even crafting your own.
To add FormVueLatte to your project, start by installing the package through your favorite package manager.
yarn add formvuelatte
// OR
npm install formvuelatte
Now that you have the package in your project, import
it to your component.
import { SchemaForm } from 'formvuelatte'
The SchemaForm
requires two props
. The first is the schema
, which is the meta-data of your form. The second one is value
, which will hold the state of the form.
<SchemaForm :schema="mySchema" :value="formData" />
The SchemaForm
will $emit
update:modelValue events when your components update. This means that you are able to either:
v-model
on it@update:modelValue
event with a method of your own while injecting the :value
property.Example with v-model
:
<template>
<SchemaForm :schema="mySchema" v-model="formData" />
</template>
<script>
import { reactive } from 'vue'
export default {
setup() {
const formData = reactive({})
const mySchema = reactive({
// some schema here
})
return {
formData,
mySchema
}
}
}}
</script>
Example with manual bindings:
<template>
<SchemaForm
:schema="mySchema"
:data="formData"
@update:modelValue="updateForm"
/>
</template>
<script>
import { reactive } from 'vue'
export default {
setup() {
const formData = reactive({})
const mySchema = reactive({
// some schema here
})
const updateForm = form => {
formData = form
}
return {
formData,
mySchema,
updateForm
}
}
}}
</script>
Easily incorporate Vuelidate powered validations into your forms.
A mapping and replacement plugin to parse complex schemas into FormVueLatte ready structure.
Marina Mosti |
Damian Dulisz |
Tonina Zhelyazkova |
FAQs
Schema Form Generator
The npm package formvuelatte receives a total of 2 weekly downloads. As such, formvuelatte popularity was classified as not popular.
We found that formvuelatte 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
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.