ADatepicker
extends Component
in package
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
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
$hint
public
string|null
$hint
= null
$id
public
string
$id
$label
public
string|null
$label
= null
$maxDate
public
string|null
$maxDate
= null
$maxTime
public
string|null
$maxTime
= null
$minDate
public
string|null
$minDate
= null
$minTime
public
string|null
$minTime
= null
$name
public
string
$name
$type
Type of picker - date | time | datetime
public
string
$type
$value
public
string|null
$value
= null
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