abp icon indicating copy to clipboard operation
abp copied to clipboard

`serializeFormToObject` function, cannot correct handling `<input type="checkbox" ...`

Open roc916 opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

serializeFormToObject function, cannot correct handling <input type="checkbox" ...

https://github.com/abpframework/abp/blob/dev/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/Default.js#L18

image

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

7.0.0-rc.4

User Interface

MVC

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

macOS

Other information

No response

roc916 avatar Dec 19 '22 10:12 roc916

This should work. It's strange, might be checkbox component code is different.

https://github.com/abpframework/abp/blob/2e7a833dbf90f4f621f86a8ae3f802599e14251b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/jquery-extensions.js#L99-L104

enisn avatar Dec 20 '22 05:12 enisn

Related to https://github.com/abpframework/abp/pull/14194/

maliming avatar Dec 21 '22 03:12 maliming