We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65891d2 commit 7fb1f95Copy full SHA for 7fb1f95
src/components/forms/input-code/input-code.component.ts
@@ -268,6 +268,9 @@ export class InputCode extends Editable()(LitElement) implements FormAssociated<
268
if (changedProperties.has('autosize')) {
269
this.updateEditorAutoSize();
270
}
271
+ if (changedProperties.has('value') && this.value !== model?.getValue()) {
272
+ this.#editor?.setValue(this.value ?? '');
273
+ }
274
275
276
@eventOptions({ passive: true })
0 commit comments