- Steps to reproduce the issue:
ABP framework bug (version incompatibility).
Findings" Commit 7db2059 by maliming on January 21, 2026, tagged on both rel-10.2 and 10.2.0-rc.1, did this:
Change Detail Deleted JQueryFormScriptContributor.cs — the class that contributed /libs/jquery-form/jquery.form.min.js to the global bundle Removed @abp/jquery-form NPM dependency from aspnetcore.mvc.ui.theme.shared/package.json Rewrote jquery-form-extensions.js — replaced $form.ajaxForm(options) with a native FormData + $.ajax submit handler Kept $.fn.abpAjaxForm — ABP's own wrapper, now standalone But Volo.CmsKit.Pro.Admin.Web version 10.2.0 was NOT updated to match. These 4 files still call $createForm.ajaxSubmit():
create.js:38 update.js:36 create.js:58 update.js:45 $.fn.ajaxSubmit no longer exists — it was provided by the third-party jquery-form plugin that ABP 10.2 removed. Hence: TypeError: n.ajaxSubmit is not a function.
The file wwwroot/libs/jquery-form/jquery.form.min.js is physically present (from @abp/jquery-form in your package.json), but no bundle contributor adds it to any bundle since JQueryFormScriptContributor was deleted.
What is the solution for this Bug?
3 Answer(s)
-
0
This is a known incompatibility in the ABP 10.2 line: ABP removed the third‑party jquery-form integration (so
$.fn.ajaxSubmit/$.fn.ajaxFormare no longer available), but CmsKit Pro Admin (10.2.0) still contains scripts callingajaxSubmit(), which results inTypeError: n.ajaxSubmit is not a function.Definitive fix: upgrade to a CmsKit Pro package version where those scripts were updated to use ABP’s current
abpAjaxFormimplementation (i.e., notajaxSubmit). Since I can’t access/verify the commercial package changelog via the available tools here, I can’t name the exact fixed patch version.Immediate workaround (no waiting for a package update): add jquery-form back into the global bundles so
ajaxSubmit()exists again:- Ensure
@abp/jquery-formis present in your web theme/package (you already have it, as you stated the file exists underwwwroot/libs/jquery-form/jquery.form.min.js). - Add the script to a global bundle explicitly in your Web module:
- Ensure
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; using Volo.Abp.Modularity; [DependsOn(typeof(AbpAspNetCoreMvcUiBundlingModule))] public class YourWebModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure<AbpBundlingOptions>(options => { // Add to the global script bundle (adjust bundle name if your UI uses a different one) options.ScriptBundles.Configure( StandardBundles.Scripts.Global, bundle => { bundle.AddFiles("/libs/jquery-form/jquery.form.min.js"); }); }); } }- Clear browser cache and restart the application.
- Alternative workaround (code-level): replace the CmsKit Pro Admin JS calls from
ajaxSubmit()toabpAjaxForm()/ nativeFormData + $.ajaxapproach. However, since those files come from the NuGet/package, the practical way is to override/replace the embedded resource in your app (virtual file system) or serve your own patched scripts. (This is more invasive than just re-bundlingjquery.form.min.js.)
Sources (validated)
- https://abp.io/contact
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Thanks for the detailed report. This is a confirmed bug — when we removed the
jquery-formpackage dependency and deletedJQueryFormScriptContributorin ABP 10.2, we missed updating the 4 JS files in the CmsKit module that still callajaxSubmit().We've already fixed this. The fix replaces
ajaxSubmit()withabp.ajax()+FormDatain those files. It will be included in the next patch release.As a temporary workaround, you can manually add
jquery-formback to the global bundle since the file is still physically present in your project:Configure<AbpBundlingOptions>(options => { options.ScriptBundles.Configure( StandardBundles.Scripts.Global, bundle => { bundle.AddFiles("/libs/jquery-form/jquery.form.min.js"); }); });Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
