Skip to content

Commit cb759fc

Browse files
committed
omit value & defaultValue
1 parent eb710a4 commit cb759fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-mentions",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "React Mentions",
55
"keywords": [
66
"react",

src/Mentions.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ class Mentions extends React.Component<MentionsProps, MentionsState> {
321321

322322
const inputProps = omit(
323323
restProps,
324+
'value',
325+
'defaultValue',
324326
'prefix',
325327
'split',
326328
'children',

0 commit comments

Comments
 (0)