Skip to content

Commit 83b53cb

Browse files
2 parents 11c92db + 2be8e1d commit 83b53cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controls/adaptiveCardHost/fluentUI/Elements.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ export class FluentUITextInput extends Input {
637637

638638
public get value(): string | undefined {
639639
if (this.renderedInputControlElement) {
640-
return this.refControl.value;
640+
return this.refControl?.value;
641641
}
642642
else {
643643
return undefined;
@@ -742,7 +742,7 @@ export class FluentUITimeInput extends Input {
742742

743743
public get value(): string | undefined {
744744
if (this.renderedInputControlElement) {
745-
return this.refControl.value;
745+
return this.refControl?.value;
746746
}
747747
else {
748748
return undefined;

0 commit comments

Comments
 (0)