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

Method setValue

src/components/input/input.tsx:109–113  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

107 };
108
109 setValue(value: string) {
110 if (this.props.value === undefined) {
111 this.setState({ value });
112 }
113 }
114
115 handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
116 const { onChange } = this.props;

Callers 5

InputClass · 0.95
updateTabMethod · 0.80
setGroupEditorValueMethod · 0.80
appendOutputMethod · 0.80
cleanOutputMethod · 0.80

Calls 1

setStateMethod · 0.80

Tested by

no test coverage detected