HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux tam.zee-supreme-vps.net 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64
User: adltc (1070)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/adltc/public_html/wp-content/plugins/jet-engine/framework/vue-ui/components/select.php
<cx-vui-component-wrapper
	:elementId="currentId"
	:label="label"
	:description="description"
	:wrapper-css="wrapperCss"
	:preventWrap="preventWrap"
	v-if="isVisible()"
>
	<select
		:id="currentId"
		:placeholder="placeholder"
		:disabled="disabled"
		:readonly="readonly"
		:name="name"
		:multiple="multiple"
		v-model="currentValue"
		:class="controlClasses()"
		@focus="handleFocus"
		@blur="handleBlur"
		@change="handleInput"
	>
		<option
			v-if="placeholder"
			value=""
			disabled
		>{{ placeholder }}</option>
		<template v-if="groups.length">
			<optgroup v-for="group in groups" :label="group.label">
				<option
					v-for="option in group.options"
					:value="option.value"
					:selected="isOptionSelected( option )"
				>{{ option.label }}</option>
			</optgroup>
		</template>
		<template v-else>
            <template v-for="option in options">
                <optgroup v-if="option.hasOwnProperty('options')" :label="option.label">
                    <option
                        v-for="option in option.options"
                        :value="option.value"
                        :selected="isOptionSelected( option )"
                    >{{ option.label }}</option>
                </optgroup>
                <option
                    v-if="!option.hasOwnProperty('options')"
                    :value="option.value"
                    :selected="isOptionSelected( option )"
                >{{ option.label }}</option>
            </template>
		</template>
	</select>
	<slot></slot>
</cx-vui-component-wrapper>