OnActionSuccess triggers on the first character entered
If Validating event triggers an error (blank entry), a subsequent attempt to enter data triggers OnActionSuccess on the first keystroke rather than after the Return key
<SfInPlaceEditor Mode="RenderMode.Inline"
Name="CustomValidation"
ValidationRules="Validation"
Type="InputType.Text"
TValue="string">
<InPlaceEditorEvents Validating="OnValidation" OnActionSuccess="OnActionSuccess" TValue="string"></InPlaceEditorEvents>
</SfInPlaceEditor>
@Message
@code {
public string Message { get; set; } = "No Change";
public object Validation = new
{
CustomValidation = new { required = true }
};
private void OnValidation(ValidateEventArgs args)
{
args.ErrorMessage = "Field should not be empty";
}
private void OnActionSuccess(ActionEventArgs args)
{
Message = "Value Changed";
}
}
SIGN IN To post a reply.
4 Replies
IS
Indrajith Srinivasan
Syncfusion Team
May 4, 2020 12:30 PM UTC
Hi Dave,
Greetings from Syncfusion support,
We are curretly validating your reported query and will update you with further details in two business days by 6th May.
Regards,
Greetings from Syncfusion support,
We are curretly validating your reported query and will update you with further details in two business days by 6th May.
Regards,
Indrajith
IS
Indrajith Srinivasan
Syncfusion Team
May 6, 2020 02:12 PM UTC
Hi Dave,
Good day to you,
We have further validated on the reported query and have confirmed “OnActionSuccess event is triggered before the submit action in Inplace Editor ” as a bug from our end and logged the report for the same, and the fix will be included with our patch release on the end of May 2020.
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: https://www.syncfusion.com/feedback/14134/
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: https://www.syncfusion.com/feedback/14134/
Regards,
Indrajith
IS
Indrajith Srinivasan
Syncfusion Team
June 3, 2020 12:15 PM UTC
Hi Dave,
Sorry for the inconvenience caused,
We couldn't include the fix with our patch relase on the end of May due to complexity is fixing the reported issue, we will include the fix with our patch release on the second week of June 2020.
Regards,
Indrajith
Sorry for the inconvenience caused,
We couldn't include the fix with our patch relase on the end of May due to complexity is fixing the reported issue, we will include the fix with our patch release on the second week of June 2020.
Regards,
Indrajith
IS
Indrajith Srinivasan
Syncfusion Team
June 10, 2020 02:38 PM UTC
Hi Dave,
Thanks for your patience,
We have resolved the issue “OnActionSuccess event is triggered before the submit action in Inplace Editor” and the fix is available with the Nuget package version 18.1.56.
Thanks for your patience,
We have resolved the issue “OnActionSuccess event is triggered before the submit action in Inplace Editor” and the fix is available with the Nuget package version 18.1.56.
Release notes: https://blazor.syncfusion.com/documentation/release-notes/index/?type=all#in-place-editor
Feedback link: https://www.syncfusion.com/feedback/14134/
Can you please upgrade your package to this version to resolve the issue from your end?
Regards,
Indrajith
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
DA Dave
- May 4, 2020 12:56 AM UTC
- Jun 10, 2020 02:38 PM UTC