From 4f49338f7687dc299d5911732aebe73b32750bdf Mon Sep 17 00:00:00 2001 From: itmajing Date: Fri, 13 Mar 2020 09:48:38 +0800 Subject: [PATCH] feat: add name definition for create form option (#1869) --- types/form/form.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/form/form.d.ts b/types/form/form.d.ts index 11cd388ab..9c98ab851 100644 --- a/types/form/form.d.ts +++ b/types/form/form.d.ts @@ -297,6 +297,12 @@ export interface WrappedFormUtils { } export interface IformCreateOption { + /** + * Set prefix for the form fields id + * @type string + */ + name?: string; + /** * Only supports the use of Form.create({})(CustomizedForm). declare props on form(like vue props) * @type object