ultimate-input-select-ccm
v1.1.0
Published
select control with some options
Downloads
7
Maintainers
Readme
ultimate-input-select-ccm
Install component
npm i ultimate-input-select-ccm
How to use
Import component
import ultimateinputselect from 'ultimate-input-select-ccm'
<ultimateinputselect
:ItemSource="itemSource"
ItemIdAttribute="id" //optional default ID
ItemNameAttribute="name" //optional default Name
DefaultOption="Select one option" //optional default Select option
v-model="selectedItem"
:OnChangeSelect="onChangeSelectEvent" //optional
:ShowDefaultOption="false" //optional default true
Css="form-select form-select-lg" //optional default form-select
/>
ItemIdAttribute and ItemNameAttribute by default Id and Name
<ultimateinputselect
:ItemSource="myArrayOfObjects"
DefaultOption="Select one option"
v-model="selectedItem"
/>
<ultimateinputselect
:ItemSource="myArrayOfObjects"
DefaultOption="Select one option"
:OnChangeSelect="myOnChangeSelectEvent"
/>
Just need ItemSource and OnChangeSelect to work
<ultimateinputselect
:ItemSource="myArrayOfObjects"
v-model="selectedItem"
/>