Constructor
# <CalendarSelect baseId className list maxValue minValue name onClickFunction selectedValue spanOnClickFunction />
Display Calendar select
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
baseId |
string | No | ||
className |
string | No | ||
list |
array | Yes | ||
maxValue |
number | No | ||
minValue |
number | No | ||
name |
string | Yes | ||
onClickFunction |
func | Yes | ||
selectedValue |
number | No | ||
spanOnClickFunction |
bool | No |
Parameters:
Name | Type | Description |
---|---|---|
props |
object
|
|
baseId |
string
|
date picker input id |
className |
string
|
|
list |
array
|
list of values or objects used to create the select |
maxValue |
number
|
maximum value that the select can display |
minValue |
number
|
minimum value that the select can display |
name |
string
|
|
onClickFunction |
object
|
function apply to select |
selectedValue |
number
|
value display as selected |
spanOnClickFunction |
function
|
function apply to option select |
object
Methods
# inner updateDateSelectOnClickSpan(e)
change selected value of select
Parameters:
Name | Type | Description |
---|---|---|
e |
object
|
event |