Skip to content

Commit 4f49338

Browse files
authored
feat: add name definition for create form option (#1869)
1 parent 8bb978d commit 4f49338

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/form/form.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,12 @@ export interface WrappedFormUtils {
297297
}
298298

299299
export interface IformCreateOption {
300+
/**
301+
* Set prefix for the form fields id
302+
* @type string
303+
*/
304+
name?: string;
305+
300306
/**
301307
* Only supports the use of Form.create({})(CustomizedForm). declare props on form(like vue props)
302308
* @type object

0 commit comments

Comments
 (0)