TreeSelect ํธ๋ฆฌ ์ ํ, ํด๋น treeNode ์์ฑ ๊ธฐ๋ฅ์ ํํฐ๋งํ๋ ์ ๋ ฅ ํญ๋ชฉ, AutoComplete filterOption ๋์๋ฌธ์ ๊ตฌ๋ถ ๊ฒ์๊ณผ ๋์ผํ ๊ธฐ๋ฅ ์ถ๊ฐ ์๋ ์์ฑ ๊ฐ๋ฅ
๋ ๋ง์ ์ฌ๋๋ค์ด ๋น์ ์ ์ดํดํ ์ ์๋๋ก ๋ฌธ์ /์ฝ๋ฉํธ๋ฅผ ์์ด๋ก ์์ฑํ๋ ๊ฒ์ด ์ข์ต๋๋ค.
์ด๋ ๋ ๋ง์ ์ฌ๋๋ค์ด ๊ทํ๋ฅผ ๋๊ฑฐ๋ ๊ทํ์ ๋ฌธ์ /๋๊ธ๋ก๋ถํฐ ํํ์ ๋ฐ์ ์ ์์์ ์๋ฏธํฉ๋๋ค.
์ฐธ์กฐ: https://github.com/ant-design/ant-design/issues/4897
@chendonghai ๋ , ๋ฌธ์ ๊ฐ ๋น์ฌ์ ๋ฌธ์ ์๊ตฌ ์ฌํญ์ ์ค์ํ์ง ์์ ๋ฌธ์ ๊ฐ ์ข ๋ฃ๋์์ต๋๋ค. ๋ฌธ์ ๋์ฐ๋ฏธ ๋ฅผ ์ฌ์ฉํ์ฌ ๋ฌธ์ ๋ฅผ ๋ง๋์ธ์. ๊ฐ์ฌํฉ๋๋ค!
๋ค์๊ณผ ๊ฐ์ด ์ฝ๋๋ฅผ ์ฐพ์์ต๋๋ค. filterTreeNode={(inputValue, treeNode) => treeNode.props.title.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1}
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋ค์๊ณผ ๊ฐ์ด ์ฝ๋๋ฅผ ์ฐพ์์ต๋๋ค. filterTreeNode={(inputValue, treeNode) => treeNode.props.title.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1}