+ {autocompleteNames !== NamesAutocompleteOptions.OFF && (
+
options}
+ suggestionAPIUrl="/api/names"
+ serializeSuggestions={this.serializeSuggestions}
+ onValueChange={this.onPersonSearchChange}
+ ref={this.namesAutocompleteRef}
+ />
+ )}
+ {showPersonForm && (
+
+
+
+
+
+
({
+ text: identifier,
+ value: identifier,
+ key: identifier,
+ })
+ )}
+ fieldPath={identifiersFieldPath}
+ ref={this.identifiersRef}
+ />
+
+
+ )}
+
+ ) : (
+ <>
+ {autocompleteNames !== NamesAutocompleteOptions.OFF && (
+