Skip to content
On this page

InputDate

Input for selecting a date.

Implements mixins RequiredInputMixin and BasicInputMixin.

html
<Card>
    <Form>
        <div class="row">
            <div class="col-12 mb-xs-4">
                <InputDate name="date" label="Select a date" placeholder="Select date" />
            </div>
        </div>
    </Form>
</Card>

Props

  • initialValue.
html
<Card>
    <Form>
        <div class="row">
            <div class="col-12 mb-xs-4">
                <InputDate name="date" label="Select a date" placeholder="Select date" :initialValue="new Date()" />
            </div>
        </div>
    </Form>
</Card>

Emits

  • changeField. Custom input event.