I have a nested component with a dx-text-box. At a curtain time I want to know at the parent comonent if the text box is empty (value) or not. How can I check it? Frank
Asked
Active
Viewed 226 times
1 Answers
0
At the parent component ts I use
@ViewChild(MyChildComponent) myChildComponent: MyChildComponent;
...
if (this.myChildComponent.myValueFromTextBox == '') {...}

Frank Mehlhop
- 1,480
- 4
- 25
- 48