Skip to main content
Version: 5.35.0

Customizing the input

By default the Mobsicroll Select component renders a Mobiscroll Input component. To customize this Input component, you can pass props to it using the inputProps option. Or you can change the rendered component using the inputComponent option.

<script setup>
import { MbscSelect, MbscInput } from '@mobiscroll/vue';

const inputPrs = {
theme: "ios",
label: "Select City",
labelStyle: "stacked",
inputStyle: "box",
placeholder: "Click to select",
};
</script>

<template>
<MbscSelect
:inputComponent="MbscInput"
:inputProps="inputPrs"
/>
</template>