mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 14:56:00 +00:00
refactor: bulkEditForm:configureFields
This commit is contained in:
parent
e20be2670e
commit
59ddc2329e
@ -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")}}',
|
||||
|
@ -43,7 +43,7 @@ export const CreateFormBulkEditBlockInitializer = () => {
|
||||
} else {
|
||||
insert(
|
||||
createFormBlockSchema({
|
||||
formItemInitializers: 'fieldInitializers:bulkEditFormItem',
|
||||
formItemInitializers: 'bulkEditForm:configureFields',
|
||||
actionInitializers: 'actionInitializers:blkEditForm',
|
||||
association,
|
||||
collection: collection.name,
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user