Activities of "maliming"

hi

This line doesn't set the ServiceProvider of ValidationContext

if (NewTestDataContext.Validate() == false)
{
    return;
}

hi

_yourModal.onOpen(function () {
    _yourModal.getForm().abpAjaxForm({
        error: function (jqXhr) {
            var error = jqXhr.responseJSON.error;

            return false;
        }
    });
})

hi

What's content of your modal.js?

hi

You can get tokens from HttpContext,

await httpContext.GetTokenAsync("access_token");

hi

For blazor

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
{
    var results = new List<ValidationResult>();

    // This is not working when using EditContext !!!
    var l = validationContext.GetService<IStringLocalizer<Abp4146Resource>>();
    if (l != null)
    {
        var errorMessage = l["Test:ValidationMessage"].Value;

        // Do some validation

        results.Add(new ValidationResult(errorMessage, new[] { nameof(DocumentValidation) }));
    }

    return results;
}

I also have no idea.

: )

Didn't change anything

I just download your GitHub repo and run three projects.

Yes, Just run these three projects.

hi

Can you share a project to reproduce the problem? liming.ma@volosoft.com

Showing 9571 to 9580 of 12936 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 12, 2026, 06:07
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.