0.1.4 • Published 2 years ago
@bohdanohorodnik/testselec v0.1.4
Use SelectInput component
npm i @bohdanohorodnik/testselec
- After install in your page add locale
import SelectInput from "@bohdanohorodnik/testselec";
import "@bohdanohorodnik/testselec/dist/select-input.css";
- Add to Component
components: {
SelectInput,
},
- And use in your page
<SelectInput v-model="yourModel" />
- Props
placeholder: <String> #Set placeholder in component
options: <Array> #Set items in menu
#options example
options=[{text: "Text", value: 1}] #value can be string or number