File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,8 @@ Customize the form by providing your own markup.
245245```
246246
247247** Important:** To use a custom field component the name of the component must contain one of these three words: ` text ` , ` input ` or ` field ` .
248- Alternatively, the component can have arbitrary name if it has the ` spInputLike ` (or ` data-spInputLike ` ) property set.
248+ Alternatively, the component can have arbitrary name if it has the ` spInputLike ` (or ` data-spInputLike ` ) property set. If you minify your code,
249+ prefer using this property to relying on the component name, as the latter may be mangled by the minifier.
249250The component must also support the properties ` name ` and ` onChange ` . The property ` name ` should represent the name of the field, and the
250251` onChange ` property a handler for the field's ` onChange ` event.
251252
You can’t perform that action at this time.
0 commit comments