Movatterモバイル変換


[0]ホーム

URL:


Components / Date Inputs / API / DateInputProps
New to Kendo UI for Vue? Start a free 30-day trial

DateInputProps

Updated over 6 months ago

Represents the props of theKendo UI for Vue DateInput component. The generic argument is passed to thechange property and is used as a target in theDateInputChangeEvent interface.

NameTypeDefaultDescription

ariaControls?

string

Sets the aria-controls of the DateInput.

ariaDescribedBy?

string

Identifies the element(s) which will describe the component, similar toHTML aria-describedby attribute.For example these elements could contain error or hint message.

ariaExpanded?

boolean

Sets the aria-expanded of the DateInput.

ariaHasPopup?

String

Sets the aria-haspopup of the DateInput.

ariaLabel?

string

Sets the aria-label of the DateInput.

ariaLabelledBy?

string

Identifies the element(s) which will label the component.

ariaRole?

string

Sets the aria role of the DateInput.

defaultValue?

Date

Specifies the default value of the DateInput. Ifvalue is not set, this value will correspond to the initial value.

dir?

string

Represents thedir HTML attribute.

disabled?

boolean

Determines whether the DateInput is disabled (see example).

fillMode?

string

solid

Configures thefillMode of the DateInput.

The available options are:

  • solid
  • outline
  • flat
  • link
  • null—Does not set a fillModeclass.

format?

string | DateFormatOptions

Specifies thedate format which is used for formatting the value (see example. If not set, the default format will be used.

formatPlaceholder?

DateInputFormatPlaceholder

Specifies the descriptions of the format sections in the input field (more information and example.

id?

string

Sets theid of theinput DOM element.

inputAttributes?

Object

Sets the built-in HTML attributes of the inner focusable input element.Attributes which are essential for certain component functionalities cannot be changed.

label?

string

Renders a floating label for the DateInput.

max?

Date

Specifies the greatest date that is valid (see example.

maxTime?

Date

Specifies the greatest time that is valid (see example.

min?

Date

Specifies the smallest date that is valid (see example.

minTime?

Date

Specifies the smallest time that is valid (see example.

name?

string

Specifies thename property of theinput DOM element.

onChange?

(event: any) => void

Determines the event handler that will be fired when the user edits the value (see example.

placeholder?

string

Specifies the value of the placeholder.

required?

boolean

Specifies ifnull is a valid value for the component.

rounded?

string

medium

Configures theroundness of the DateInput.

The available options are:

  • small
  • medium
  • large
  • circle
  • full
  • null—Does not set a roundedclass.

size?

string

medium

Configures thesize of the DateInput.

The available options are:

  • small
  • medium
  • large
  • null—Does not set a sizeclass.

spinners?

boolean

Specifies whether theUp andDown spin buttons will be rendered (see example).

steps?

DateInputIncrementalSteps

Specifies the incremental steps of the DateInput (see example.

The available options are:

  • year: Number—Controls the incremental step of the year value.
  • month: Number—Controls the incremental step of the month value.
  • day: Number—Controls the incremental step of the day value.
  • hour: Number—Controls the incremental step of the hour value.
  • minute: Number—Controls the incremental step of the minute value.
  • second: Number—Controls the incremental step of the second value.

tabIndex?

number

Sets thetabIndex property of the DateInput.

title?

string

Sets the title of theinput element of the DateInput.

valid?

boolean

Overrides the validity state of the component.Ifvalid is set, therequired property will be ignored.

validate?

boolean

Specifies the validate of the DateInput.

validationMessage?

string

Controls the form error message of the component. If set to an empty string, no error will be thrown.

validityStyles?

boolean

If set tofalse, no visual representation of the invalid state of the component will be applied.

value?

Date

Specifies the value of the DateInput.

width?

string | number

Specifies the width of the DateInput.

Not finding the help you need?
Contact Support

[8]ページ先頭

©2009-2025 Movatter.jp