MCPcopy Create free account
hub / github.com/DTStack/molecule / setValidateInfo

Method setValidateInfo

src/services/workbench/searchService.ts:107–117  ·  view source on GitHub ↗
(info: string | ISearchProps['validationInfo'])

Source from the content-addressed store, hash-verified

105 }
106
107 public setValidateInfo(info: string | ISearchProps['validationInfo']) {
108 this.setState({
109 validationInfo:
110 typeof info === 'string'
111 ? {
112 type: 'info',
113 text: info,
114 }
115 : info,
116 });
117 }
118
119 public setSearchValue(value?: string) {
120 this.setState({

Callers 4

SearchControllerClass · 0.80
search.test.tsFile · 0.80
activateFunction · 0.80

Calls 1

setStateMethod · 0.80

Tested by

no test coverage detected