0.0.7 • Published 4 years ago

@urbanhire.com/select v0.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

UHSelect Component

Installing

npm i @urbanhire.com/select

Usage

<template>
  <UHSelect
    label='Text Label'
    name='text-input'
    placeholder='text input'
    :value='text-input'
    :options="[
      {
        text: 'Choose Options ...',
        value: '',
        selected: true,
        disabled: true
      },
      {
        text: 'Options 1',
        value: 'options1',
        selected: false
      },
      {
        text: 'Options 2',
        value: 'options2',
        selected: false
      },
      {
        text: 'Options 3',
        value: 'options3',
        selected: false
      },
      {
        text: 'Options 4',
        value: 'options4',
        selected: false
      }
    ]"
    @change="yourMethods($event)"
  />
</template>

<script>
import UHSelect from '@urbanhire.com/select'

export default {
  components: {
    UHSelect
  }
}
</script>

Props & Methods

Prop nameTypeDefaultDescription
idStringThe ID is Unique
labelString
classNameString
nameString
autoWidthBooleanfalse
colorString' 'One of : success, danger, warning, danger, info
placeholderString
valueString
typeStringtextOne of : text, number, email, password
infoLabelBottomString
infoLabelTopString
optionsArray

LICENSE

MIT

AUTHORS

@riskinputra - idea & initial work

0.0.7

4 years ago

0.0.6

4 years ago

0.5.0

4 years ago

0.0.5

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago