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;
}
: )
Didn't change anything
I just download your GitHub repo and run three projects.
hi
Can you share a project to reproduce the problem? liming.ma@volosoft.com