()
| 107 | }; |
| 108 | |
| 109 | check_valid(): boolean { |
| 110 | if (this.code_mirror && this.spec.required && !this.get_value()) { |
| 111 | this.update_input_helper(-1, { |
| 112 | 'valid_status': false, |
| 113 | 'invalid_feedback': "Please fill out this field.", |
| 114 | }); |
| 115 | return false; |
| 116 | } |
| 117 | return true; |
| 118 | } |
| 119 | |
| 120 | after_show(first_show: boolean): any { |
| 121 | if (first_show && this.spec.code) { |
nothing calls this directly
no test coverage detected