Skip to content

v_selectv3

Concept

  • Generates a select dropdown based on SRS API data.
  • If the text prop is provided, the API is not triggered immediately (e.g., text="xd"). This helps save unnecessary requests.
  • Key prop is important if using multiple v_selectv3 components to ensure each component is cached and updated correctly.

Props

  • key: important if using multiple v_selectv3 components
  • tabindex
  • url: { type: String, required: true }
  • label: String
  • labelSelect: { type: String, default: 'Select' }
  • text: String
  • value: String
  • disabled: { type: Boolean, default: false }
  • required: { type: Boolean, default: false }
  • listName: { type: String, default: 'list' }

Events

  • @updated — Emitted when the value is updated.

Examples

Basic Example

HTML
1
2
3
4
5
6
7
8
9
<v_selectv3 
  label="Payment Method" 
  required 
  v-model="api.data.order.paymentTypeID" 
  :text="api.data.order.paymentType" 
  @updated="api.data.order.paymentTime = $event.decimalValue"
  key="paymentTypeID"
  :disabled="isDisabled" 
  url="/api/srs/821/run.json?dictionary=paymentType" />