shuashuai commented on issue #1425:
URL: https://github.com/apache/answer/issues/1425#issuecomment-3526141599

   In HTML, even if the type of <input> is set to number, the value obtained 
through evt.target.value is still a string. This is because the value attribute 
of an HTML input element always returns the user's input as a string.
   
   Currently for numeric types, a forced conversion is required during saving, 
for example, Number(evt.target.value is still a string, not a number type?);
   
   Additionally, I will add forced conversion for the value based on the 
input's type attribute in the next version.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to