You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
533 B
25 lines
533 B
<script setup>
|
|
import { useI18n } from "vue-i18n"
|
|
|
|
import IconField from "primevue/iconfield"
|
|
import InputIcon from "primevue/inputicon"
|
|
import InputText from "primevue/inputtext"
|
|
|
|
import { chamiloIconToClass } from "./ChamiloIcons"
|
|
|
|
const modelValue = defineModel({
|
|
type: String,
|
|
})
|
|
|
|
const { t } = useI18n()
|
|
</script>
|
|
|
|
<template>
|
|
<IconField icon-position="left">
|
|
<InputIcon :class="chamiloIconToClass['search']" />
|
|
<InputText
|
|
v-model="modelValue"
|
|
:placeholder="t('Search')"
|
|
/>
|
|
</IconField>
|
|
</template>
|
|
|