diff --git a/projects/schema-form/src/lib/defaultwidgets/checkbox/checkbox.widget.ts b/projects/schema-form/src/lib/defaultwidgets/checkbox/checkbox.widget.ts index 851fa2e7..e53942d5 100644 --- a/projects/schema-form/src/lib/defaultwidgets/checkbox/checkbox.widget.ts +++ b/projects/schema-form/src/lib/defaultwidgets/checkbox/checkbox.widget.ts @@ -10,7 +10,7 @@ import { ControlWidget } from '../../widget';
diff --git a/projects/schema-form/src/lib/defaultwidgets/radio/radio.widget.ts b/projects/schema-form/src/lib/defaultwidgets/radio/radio.widget.ts index 822f7bba..a0bde690 100644 --- a/projects/schema-form/src/lib/defaultwidgets/radio/radio.widget.ts +++ b/projects/schema-form/src/lib/defaultwidgets/radio/radio.widget.ts @@ -9,7 +9,7 @@ import { ControlWidget } from '../../widget'; {{schema.description}}
diff --git a/projects/schema-form/src/lib/defaultwidgets/range/range.widget.ts b/projects/schema-form/src/lib/defaultwidgets/range/range.widget.ts index dc6fcd0b..fda7699c 100644 --- a/projects/schema-form/src/lib/defaultwidgets/range/range.widget.ts +++ b/projects/schema-form/src/lib/defaultwidgets/range/range.widget.ts @@ -10,7 +10,7 @@ import { ControlWidget } from '../../widget'; {{schema.description}} + [formControl]="control" [attr.type]="'range'" [attr.min]="schema.minimum" [attr.max]="schema.maximum" [disableControl]="schema.readOnly?true:null" >
` }) diff --git a/projects/schema-form/src/lib/defaultwidgets/select/select.widget.ts b/projects/schema-form/src/lib/defaultwidgets/select/select.widget.ts index 85a70506..06df41bd 100644 --- a/projects/schema-form/src/lib/defaultwidgets/select/select.widget.ts +++ b/projects/schema-form/src/lib/defaultwidgets/select/select.widget.ts @@ -13,7 +13,7 @@ import { ControlWidget } from '../../widget'; {{schema.description}} - @@ -22,7 +22,7 @@ import { ControlWidget } from '../../widget'; - diff --git a/projects/schema-form/src/lib/defaultwidgets/string/string.widget.ts b/projects/schema-form/src/lib/defaultwidgets/string/string.widget.ts index 47cfd5a4..bbe5db23 100644 --- a/projects/schema-form/src/lib/defaultwidgets/string/string.widget.ts +++ b/projects/schema-form/src/lib/defaultwidgets/string/string.widget.ts @@ -19,7 +19,7 @@ import { ControlWidget } from '../../widget'; [attr.maxLength]="schema.maxLength || null" [attr.minLength]="schema.minLength || null" [attr.required]="schema.isRequired || null" - [attr.disabled]="(schema.widget.id=='color' && schema.readOnly)?true:null"> + [disableControl]="(schema.widget.id=='color' && schema.readOnly)?true:null"> `