function
PreviewWithConfig
func PreviewWithConfig(
selected PreviewConfig,
options ...field.CommonOption,
) field.DefinitionCreate a search preview mapped to explicit title and description paths.
Related types
PreviewConfigGenerator state, label, and field paths for a directly placed preview.
CommonOptionOptions accepted by every built-in and plugin field.
DefinitionAn immutable authored field definition.