Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp webpart base.propertypanedynamictextfield

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-base > PropertyPaneDynamicTextField

PropertyPaneDynamicTextField() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Warning: This API is now obsolete.

This has been replaced by PropertyPaneDynamicField and moved to @microsoft/sp-property-pane. Please consume it from there.

Helper method to create a Dynamic TextField on the PropertyPane.

Signature:

export declare function PropertyPaneDynamicTextField(targetProperty: string, properties: IPropertyPaneDynamicTextFieldProps): IPropertyPaneField<IPropertyPaneDynamicTextFieldProps>;

Parameters

Parameter Type Description
targetProperty string Target property the dynamic textfield is associated to.
properties IPropertyPaneDynamicTextFieldProps Properties of the PropertyPaneDynamicTextField.

Returns:

IPropertyPaneField<IPropertyPaneDynamicTextFieldProps>

Clone this wiki locally