์ด๊ฒ์ TextField์ ๊ฐ์ ์์ฑ์ ์ํด ์ ํ์ ์ผ๋ก ์ค์ ๋ ์ ์์ด์ผํฉ๋๋ค.
return _react2.default.createElement(
'div',
{ style: prepareStyles((0, _simpleAssign2.default)(styles.root, style)) },
_react2.default.createElement(_TextField2.default, _extends({}, other, {
ref: 'searchTextField',
**autoComplete: 'on',**
value: searchText,
onChange: this.handleChange,
onBlur: this.handleBlur,
onFocus: this.handleFocus,
onKeyDown: this.handleKeyDown,
floatingLabelText: floatingLabelText,
hintText: hintText,
fullWidth: fullWidth,
multiLine: false,
errorStyle: errorStyle
})),
์์์ ์ผ๋ถ๋ก ์๋ ์์ฑ์ ์ฌ์ฉํฉ๋๋ค. ์ด๊ฒ์ ์ ์ฉํ ๊ธฐ๋ฅ์ด ๋ ๊ฒ์ ๋๋ค. ์ฌ์ด ์์ . PR์ ์ ๊ณต ํ ์ ์์ต๋๋ค.
๋์ํฉ๋๋ค. ๋ชจ๋ ์ฌ์ฉ์๊ฐ autoComplete
์์ฑ์ ์ฌ์ ์ํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์ค์ ๋ก๋ {...other}
์์ฑ์ ๊ตฌ์ฑ ์์์ ๋์ด ์๋ ์์ ๋ถ๋ถ์ ํผ๋จ๋ฆฌ๋ ๊ฒ์ด๋ณด๋ค ์ผ๋ฐ์ ์ธ ๋ฌธ์ ๋ผ๊ณ ์๊ฐํฉ๋๋ค. ๋ฐ๋ผ์ ์ฐ์ ์์๋ฅผ ์์ต๋๋ค.
# 4783์ ์ํด ๋ซํ
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋์ํฉ๋๋ค. ๋ชจ๋ ์ฌ์ฉ์๊ฐ
autoComplete
์์ฑ์ ์ฌ์ ์ํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.์ค์ ๋ก๋
{...other}
์์ฑ์ ๊ตฌ์ฑ ์์์ ๋์ด ์๋ ์์ ๋ถ๋ถ์ ํผ๋จ๋ฆฌ๋ ๊ฒ์ด๋ณด๋ค ์ผ๋ฐ์ ์ธ ๋ฌธ์ ๋ผ๊ณ ์๊ฐํฉ๋๋ค. ๋ฐ๋ผ์ ์ฐ์ ์์๋ฅผ ์์ต๋๋ค.