Validation parameter for select control
This commit is contained in:
14280
package-lock.json
generated
14280
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -64,7 +64,6 @@
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"ng-packagr": "^12.0.0",
|
||||
"ngx-bootstrap": "^6.2.0",
|
||||
"node-sass": "^4.13.1",
|
||||
"rimraf": "2.6.1",
|
||||
"rxjs": "~6.5.3",
|
||||
"scss-bundle": "^3.0.2",
|
||||
|
||||
@@ -222,8 +222,8 @@ export namespace Properties {
|
||||
}
|
||||
|
||||
export class SelectControlModel extends GenericControlModel<any> {
|
||||
constructor(_property: Property, type: InputType, public options: Array<SelectOption>) {
|
||||
super(_property, type);
|
||||
constructor(_property: Property, type: InputType, public options: Array<SelectOption>, validation?: Validation) {
|
||||
super(_property, type, validation);
|
||||
if (_property.defaultValue === undefined) {
|
||||
options.unshift({
|
||||
name: 'SELECT',
|
||||
|
||||
Reference in New Issue
Block a user