Skip to content

onFieldInputValueChange获取改变之前的值 #2846

Answered by janryWang
cyt68 asked this question in Q&A [2.x]
Discussion options

You must be logged in to vote
onFieldMount('xxx',(field)=>{
  reaction(()=>field.inputValue,(newValue,oldValue)=>console.log(newValue,oldValue))
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janryWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants