ValueChange does not trigger

Hi Syncfusion,


It seems as though some recent update has broken the ValueChange event in the RTE.

It does not trigger when you change text in the RTE.

I tried with the sample below on an older version (18.4.0.46) and it worked fine, and afterwards I tried it on my current project (20.2.0.49) and it did not work.


Sample:


@page "/"


@using Syncfusion.Blazor.RichTextEditor


<SfRichTextEditor SaveInterval="1" @bind-Value="@rteValue">

    <RichTextEditorEvents ValueChange="@OnRTEValueChange"></RichTextEditorEvents>

</SfRichTextEditor>


@code {

    public string rteValue { get; set; } = "<p>Enter text...</p>";


    public void OnRTEValueChange()

    {

        var currentValue = this.rteValue;

    }

}


Can you confirm this?


Best regards,

Rúni


2 Replies 1 reply marked as answer

RT Rúni Terjason Hansen September 14, 2022 08:42 AM UTC

Hi again Syncfusion,


I figured it out. It was on my end. I forgot to update the version number of the stylesheet and javascript CDN references in _Layout.cshtml after I updated the Syncfusion NuGet packages.

Sorry for any inconvenience. Hopefully this can help other people in similar situations.


Best regards,

Rúni Terjason Hansen


Marked as answer

GD Gokulraj Devarajan Syncfusion Team September 14, 2022 12:49 PM UTC

Hi Rúni


We are glad that you have found the solution. Please let us know if you need any further assistance.


Regards,

Gokulraj.


Loader.
Up arrow icon