Documentation

ADatepicker extends Component

ADatepicker Laravel Blade Component

An advanced datepicker component supporting date, time, and datetime selection. Features customizable labels, hints, and validation integration. Supports setting minimum and maximum date/time limits for enhanced user input control.

Features:

  • Supports date, time, and datetime selection modes
  • Customizable labels and hints
  • Minimum and maximum date/time limits
  • Form validation integration
  • Livewire real-time updates
  • Bulma CSS framework integration
  • Mobile-friendly responsive design
Tags
author

V360

version
1.0.0
since
2024-06-15
example

Table of Contents

$hint  : string|null
$id  : string
$label  : string|null
$maxDate  : string|null
$maxTime  : string|null
$minDate  : string|null
$minTime  : string|null
$name  : string
$type  : string
Type of picker - date | time | datetime
$value  : string|null
__construct()  : mixed
Create a new component instance
render()  : View|string
Get the view / contents that represent the component.

Properties

$type

Type of picker - date | time | datetime

public string $type

Methods

__construct()

Create a new component instance

public __construct(string $name[, string $type = 'date' ][, string|null $value = null ][, string|null $id = null ][, mixed $label = null ][, string|null $hint = null ][, array<string|int, mixed> $dateLimits = [] ][, array<string|int, mixed> $timeLimits = [] ]) : mixed
Parameters
$name : string
$type : string = 'date'
  • date | time | datetime
$value : string|null = null
$id : string|null = null
$label : mixed = null
$hint : string|null = null
$dateLimits : array<string|int, mixed> = []
$timeLimits : array<string|int, mixed> = []
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results