Skip to content

Input Calendar

Base component for all text input fields, which extends the InputText component from PrimeVue. Each SkInput component receives a unique id to assign the correct label to it.

For alle props and events, see the PrimeVue Calendar Documentation

Example Usage

Example


Sun Jun 22 2025 22:18:49 GMT+0000 (Coordinated Universal Time)
vue
<template>
  <sk-input-calendar v-model="value" label="Date + Time" show-time class="mr-m mb-m" />
  <sk-input-calendar
    v-model="value2"
    placeholder="Max Mustermann"
    class="mr-m mb-m"
    label="Birthday"
    :max-date="new Date()"
  />
  <br />
  {{ value }}
  {{ value2 }}
</template>

<script setup>
import { ref } from 'vue';

const value = ref(new Date());
const value2 = ref();
</script>

Reference

Properties

NameTypeDefaultDescription
v-modelrefnullThe value to edit, will be a Date Object

Events

NameParametersDescription
@inputeventthe payload of the input

Slots

NameParametersDescription