diff --git a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html index 4da868412e..81e72b4daa 100644 --- a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +++ b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html @@ -45,9 +45,7 @@ @@ -64,10 +62,6 @@ -

record.metadata.api.form.type

diff --git a/libs/ui/inputs/src/lib/text-input/text-input.component.html b/libs/ui/inputs/src/lib/text-input/text-input.component.html index df92d6bbb3..4aace20e25 100644 --- a/libs/ui/inputs/src/lib/text-input/text-input.component.html +++ b/libs/ui/inputs/src/lib/text-input/text-input.component.html @@ -8,4 +8,5 @@ [placeholder]="hint" [attr.aria-label]="hint" [attr.required]="required || null" + [disabled]="disabled" /> diff --git a/libs/ui/inputs/src/lib/text-input/text-input.component.stories.ts b/libs/ui/inputs/src/lib/text-input/text-input.component.stories.ts index c615b67a76..c7c51d4283 100644 --- a/libs/ui/inputs/src/lib/text-input/text-input.component.stories.ts +++ b/libs/ui/inputs/src/lib/text-input/text-input.component.stories.ts @@ -12,6 +12,7 @@ export const Primary: StoryObj = { value: '', hint: 'Put something here!', required: false, + disabled: false, }, argTypes: { valueChange: { diff --git a/libs/ui/inputs/src/lib/text-input/text-input.component.ts b/libs/ui/inputs/src/lib/text-input/text-input.component.ts index cb75c50e76..03560b15fa 100644 --- a/libs/ui/inputs/src/lib/text-input/text-input.component.ts +++ b/libs/ui/inputs/src/lib/text-input/text-input.component.ts @@ -29,6 +29,7 @@ export class TextInputComponent implements AfterViewInit { @Input() extraClass = '' @Input() hint: string @Input() required = false + @Input() disabled: boolean rawChange = new Subject() @Output() valueChange = this.rawChange.pipe(distinctUntilChanged()) @ViewChild('input') input