RichTextEditorFor creates two textareas with same name

When I use the following code, it renders two textareas with the same name:

<ejs-richtexteditor ejs-for="Description" id="Description"></ejs-richtexteditor>

It renders this:
<textarea name="Description" id="Description" data-val="true" ejs-for="true" class="e-control e-richtexteditor e-lib e-rte-hidden"></textarea>
<textarea id="Description-value" name="Description" class="e-rte-hidden"></textarea>
The problem now is the model binding will not work as there are two form keys with name "Description". I am using version 17.4.0.53

1 Reply

IS Indrajith Srinivasan Syncfusion Team March 9, 2020 12:54 PM UTC

Hi Nick, 
  
Greetings from Syncfusion support, 
 
We have validated your reported query. We have created a sample with a specified scenario, but unable to reproduce the reported issue “two textarea creation” with RichTextEditor from our end. Find a sample with version .53 and RichTextEditorFor configured which works fine. 
 
 
Can you please try the above sample and let us know whether we missed any steps which you configured? this will help us to reproduce the issue in our end. 
 
Regards, 
Indrajith 


Loader.
Up arrow icon