MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / check_valid

Method check_valid

webiojs/src/models/input/base.ts:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30 // 检查输入项的有效性,在表单提交时调用
31 check_valid(): boolean {
32 this.update_input_helper(-1, {
33 'valid_status': 0, // remove the valid status
34 });
35 return true;
36 }
37
38 //在表单加入DOM树后触发
39 after_add_to_dom(): any {

Callers

nothing calls this directly

Calls 1

update_input_helperMethod · 0.95

Tested by

no test coverage detected