User-17257777 posted
Hi zhyanadil.it@gmail.com,
You can use F12 bowser develop tool to check If this is any error in it. I tested your codes and found the error as below:
A potentially dangerous Request.Form value was detected from the client (f="<pp>").
Since the “<” and ”>” are HTML codes and they may cause XSS (cross-site scripting), which is by default prevented in MVC, so you couldn’t get them in the controller.
One way is decorating the controller method with [ValidateInput(false)] and the other is decorating the ViewModel attribute with [AllowHtml]
For more details, you can refer to:
https://stackoverflow.com/questions/25630141/validateinputfalse-vs-allowhtml
Best Regards,
jiadong Meng