Skip to content
\n

now upon going to AutoCompleteAsync component I find that we are using a prop called value and onChange there, but I don't seem it to passing from the parent, and it does have some random numbers there, can anyone help me out to figure it how it the component getting value and onChange props when we don't pass it from DynamicForm, Thanks!

","upvoteCount":1,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"

@ratnabh

\n
value, ///////////////// this is for update\nonChange, ////////////////// this is for update\n\n
\n

This is needed when we create custom input behavior , required by AntD , this will be passed auto by Form.Item .

\n

we need this just for update when we fill input when we try to update form

","upvoteCount":2,"url":"https://github.com/orgs/idurar/discussions/1018#discussioncomment-8874767"}}}

Having hard time understanding a piece of code #1018

Answered by salahlalami
ratnabh asked this question in Q&A
Discussion options

You must be logged in to vote

@ratnabh

value, ///////////////// this is for update
onChange, ////////////////// this is for update

This is needed when we create custom input behavior , required by AntD , this will be passed auto by Form.Item .

we need this just for update when we fill input when we try to update form

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ratnabh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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