Validation readOnly and input manual voucherNo in react js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Validation readOnly and input manual voucherNo in react js

How do you do that when the calculator data is duplicated then Calculation # can be input manually and not readOnly but only applies when duplicated, if not duplicated then Calculation # remains readOnly. I've tried to set it using state, but when I click duplicate, it's still readonly and not input manually. Is there any other solution? https://code.sololearn.com/WNGc4U9cz1ta/?ref=app

11th Jun 2023, 5:28 AM
Dennis
1 Answer
0
https://code.sololearn.com/WxDaBquyMPt1/?ref=app There is the correct code with explanation
13th Jun 2023, 9:16 PM
Axel00x
Axel00x - avatar