Skip to content

Commit

Permalink
fix(select): fix clear-no-match prop (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian authored Sep 18, 2024
1 parent c00ef37 commit 0d42d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderless/src/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ const getOptionOfSetSelected = ({ api, props }) => {
}

// tiny 新增
if (!option.currentLabel) {
if (!option.state.currentLabel) {
api.clearNoMatchValue('')
}

Expand Down

0 comments on commit 0d42d09

Please sign in to comment.