Skip to content

Commit 925bd81

Browse files
paulinewahleLucyChyzhova
authored andcommitted
docs(code-editor): separate invalid and required logic
1 parent 07e1354 commit 925bd81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/code-editor/examples/code-editor-composite.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ export class CodeEditorCompositeExample {
6363
onChange={this.setInvalid}
6464
/>
6565
</limel-example-controls>
66-
,
66+
6767
<limel-example-value value={this.value} />
6868
</Host>
6969
);
7070
}
7171

72-
@Watch('required')
7372
@Watch('value')
7473
protected checkValidity() {
7574
this.invalid = this.required && !this.value;

0 commit comments

Comments
 (0)