refactor: bulkEditForm:configureFields

This commit is contained in:
Zeke Zhang 2024-03-07 19:01:33 +08:00
parent e20be2670e
commit 59ddc2329e
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ export const BulkEditFormItemInitializers_deprecated = new CompatibleSchemaIniti
export const bulkEditFormItemInitializers = new CompatibleSchemaInitializer(
{
name: 'fieldInitializers:bulkEditFormItem',
name: 'bulkEditForm:configureFields',
wrap: gridRowColWrap,
icon: 'SettingOutlined',
title: '{{t("Configure fields")}}',

View File

@ -43,7 +43,7 @@ export const CreateFormBulkEditBlockInitializer = () => {
} else {
insert(
createFormBlockSchema({
formItemInitializers: 'fieldInitializers:bulkEditFormItem',
formItemInitializers: 'bulkEditForm:configureFields',
actionInitializers: 'actionInitializers:blkEditForm',
association,
collection: collection.name,

View File

@ -18,7 +18,7 @@ test.describe('bulk edit action setting', () => {
await page.getByLabel('schema-initializer-Grid-popup:bulkEdit:addBlock-general').hover();
await page.getByRole('menuitem', { name: 'form Form' }).click();
await page.mouse.move(300, 0);
await page.getByLabel('schema-initializer-Grid-fieldInitializers:bulkEditFormItem-general').hover();
await page.getByLabel('schema-initializer-Grid-bulkEditForm:configureFields-general').hover();
await page.getByRole('menuitem', { name: 'Single line text' }).click();
await page.getByRole('menuitem', { name: 'Start date time' }).click();
await page.getByRole('menuitem', { name: 'Percent' }).click();