bug fixing
This commit is contained in:
parent
9d0496c8a8
commit
88158910be
|
@ -73,7 +73,7 @@ export class FacetComposerComponent implements OnInit {
|
||||||
|
|
||||||
optionTypes = [
|
optionTypes = [
|
||||||
{ value: 'boolean'},
|
{ value: 'boolean'},
|
||||||
{ value: 'date'},//text
|
{ value: 'datetime-local'},//text
|
||||||
{ value: 'password'},
|
{ value: 'password'},
|
||||||
{ value: 'float'},//text
|
{ value: 'float'},//text
|
||||||
{ value: 'number'},
|
{ value: 'number'},
|
||||||
|
@ -206,7 +206,7 @@ export class FacetComposerComponent implements OnInit {
|
||||||
|
|
||||||
for(let i=0; i<props.length; i++){
|
for(let i=0; i<props.length; i++){
|
||||||
const prop=props[i];
|
const prop=props[i];
|
||||||
if(prop.type==="date"){
|
if(prop.type==="datetime-local"){
|
||||||
fc = this.fb.control(new Date())
|
fc = this.fb.control(new Date())
|
||||||
}
|
}
|
||||||
if(prop.type==="number"){
|
if(prop.type==="number"){
|
||||||
|
|
Loading…
Reference in New Issue