DateInput

DateInput コンポーネントのドキュメントと例。範囲選択と直感的なカレンダー操作のサポートが含まれています。

いつ使用するか

  • 入力ボックスをクリックすると、ポップアップカレンダーから日付を選択できます。

基本

基本的な使用例。ユーザーはパネルで日付を選択または入力できます。

範囲ピッカー

range プロパティで範囲ピッカー タイプを設定します。

無効

DatePicker の無効状態。

ステータス

エラーで DatePicker にステータスを追加します。エラーまたは警告の可能性があります。

Please select a valid date

カスタマイズ

カスタマイズされたレンダリングと書式設定。

プロパティ

プロパティ
説明
タイプ
デフォルト

range

Enables date range selection mode. boolean false

locale

The locale used for calendar rendering and date formatting. string ''

icon

The icon to display inside the input. IconName 'Calendar'

label

Label text shown above the input. string ''

error

Indicates an error state or displays an error message string | boolean

success

Indicates a success state or displays a success message string | boolean

disabled

Disables the component boolean false