Home > front end >  When an input fill another input automatically populate the same content, how to solve?
When an input fill another input automatically populate the same content, how to solve?

Time:09-20

When an input fill another input automatically populate the same content, how to solve? For complex paste can also make another input automatic filling, not only in the input when filling,
The following code is in the input, the other is an input to fill the front input content, if it is a complex paste won't fill, how to solve?

CodePudding user response:

Try your listening input onchange event

CodePudding user response:

Onchange events the oninput can try, under reference: https://blog.csdn.net/huawuque004/article/details/84817360

CodePudding user response:

The use of the object. DefineProperty; Before this is vue2.0 two-way data binding principle, hijacking, using data is obtained to each data set and get attributes, so as to achieve the purpose of dynamic change, is very simple
  • Related