Select
cf-select
Input component is based on Angular Material select and has such extended options:
options filter;
notification;
innerHtml for option text.
Usage
app.html
app.ts
app.scss
Select input properties
Attr
Type
Details
items
SelectItemModel[]
It is array with option items json objects
selected
string
It means that component must have some selected option and it is value of option property itemLabel
placeholder
string
It is Select component placeholder text
showFilter
boolean
It is property to show/hide filter
display
boolean
To show / hide component
disable
boolean
To enable / disable component
required
boolean
If component is required
Select option input properties
Attr
Type
Details
itemValue
string
It is name of item property to be used as md-option value
itemLabel
string
It is name of item property to be used as md-option display text
Select styling properties
Attr
Type
Dateils
container
StylingModel
Styling for the container
select
StylingModel
Styling for the md-select itself
filter
StylingModel
Styling for the filter md-input-container
options
StylingModel
Styling for the md-options
Select output properties
Attr
Details
cfOnOpen
Fired when options was opened
cfOnChange
Fired when selected value was changed
cfOnClose
Fired when options was closed
Last updated