tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 14 forks source link

Component not update when setting the binding value #11

Closed hevilhuy closed 3 years ago

hevilhuy commented 3 years ago

<Editor ApiKey="@Configuration["TinyMCEApiKey"]" @bind-Value="@FormModel.Content" Conf="TinyMCEConfigurations.NormalEditorConfigurations"/>

private void ResetForm()
{
     FormModel = new();
}

When calling ResetForm the content of the component wont reset.

exalate-issue-sync[bot] commented 3 years ago

Ref: INT-2516

jscasca commented 3 years ago

I'll have to investigate what is going on here. Thanks for bringing this up.

jscasca commented 3 years ago

Ok I think I have found the issue. It was due to a null reference going unchecked. I will have this sorted out in #12

jscasca commented 3 years ago

@hevilhuy this should be fixed in v0.0.4 which has just been released

hevilhuy commented 3 years ago

@hevilhuy this should be fixed in v0.0.4 which has just been released

Thank you.