# BP Node FString variable with auto-complete and/or dropdown, is this possible?

**URL:** <https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, question\
**Created:** [September 14, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661 "2025-09-14T22:39:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyndeon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyndeon/32/1141847_2.png) [@Cyndeon](https://forums.unrealengine.com/u/Cyndeon)\
**Post date:** [September 14, 2025, 10:39pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/1 "2025-09-14T22:39:27Z")

</div>

I am making a custom plugin for UE5 in C++ and I had this one thing I really wanted to make but couldn’t figure out how to.

In one of my classes, I have a TArray and the user will be able to use these names inside of Blueprint Nodes to be able to modify the data of another array and I want this to be as simple to use as possible.

Now here’s the difficult part, I want to make a Blueprint Node with an FString output (similar to how literal variables work (I believe I got that name correct), where there’s only an output, no Exec pin and just an input that allows the user to set it and then that is sent to the output), however, I want this input part’s input field to have an auto-complete and/or dropdown function, similar how to Blueprint Nodes have an autocomplete and a list below it showing potential options. This would allow the user to easily find what they are looking for all the time and would also make sure that even people without proper naming conventions can easily find what they need to find.

I believe that in order to get functionality like this, I need to make a K2Node and I have tried this numerous times but it always seems to give me either just a regular string input or only an output.

Not sure if this is even possible since I haven’t seen anyone else do it, but if anyone would like to help out, I’d really appreciate it 😃

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [September 15, 2025, 12:20pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/2 "2025-09-15T12:20:49Z")

</div>

In Unreal Engine you can make your own widget for the [Details](https://dev.epicgames.com/documentation/en-us/unreal-engine/details-panel-customization?application_version=4.27) panel.

You can make a widget for the pin:

> **Example**
>
> // Declare a pin factory:  
> class MyClass : public FGraphPanelPinFactory  
> {  
> virtual TSharedPtr CreatePin(class UEdGraphPin\* InPin) const override;  
> };
> 
> // Register pin factory  
> NamedGuidPinFactory = MakeShareable(new FNamedGuidPinFactory());  
> FEdGraphUtilities::RegisterVisualPinFactory(NamedGuidPinFactory);
> 
> //  
> class MyPin : public SGraphPin  
> {  
> public:  
> SLATE\_BEGIN\_ARGS(MyPin) {}  
> SLATE\_END\_ARGS()
> 
> public:  
> void Construct(const FArguments& InArgs, UEdGraphPin\* InGraphPinObj);  
> virtual TSharedRef \< SWidget \> GetDefaultValueWidget() override;  
> };

You can make a node with a completely custom visual:

> **Example**
>
> // Create custom node widget class  
> class SMyNode : public SGraphNodeK2Base  
> {  
> public:  
> SLATE\_BEGIN\_ARGS(SGraphNodeOGComboGate) {}  
> SLATE\_END\_ARGS()  
> void Construct(const FArguments& InArgs, UOGNode\_ComboGate\* InNode);  
> };
> 
> // Use custom node widget  
> TSharedPtr UMyCustomNode::CreateVisualWidget()  
> {  
> return SNew(SMyNode , this);  
> }

---

<div class="post-metadata">

**Author:** ![Cyndeon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyndeon/32/1141847_2.png) [@Cyndeon](https://forums.unrealengine.com/u/Cyndeon)\
**Post date:** [September 22, 2025, 12:45pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/3 "2025-09-22T12:45:07Z")

</div>

Thank you but I know that you can make your own details panel, but I just don’t understand how to make a Blueprint node that allows a user to set the String that also autocompletes the text 😃

---

<div class="post-metadata">

**Author:** ![Extrone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/extrone/32/906554_2.png) [@Extrone](https://forums.unrealengine.com/u/Extrone)\
**Post date:** [September 22, 2025, 1:01pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/4 "2025-09-22T13:01:09Z")

</div>

You would have to use ENUMS or GameplayTags for that.

But for the Details Panel you don’t have to customize it. You can use GetOptions meta property to provide a TArray as possible values for the FString

```auto
UPROPERTY(meta=(GetOptions="GetAnimalOptions"))
FString Animal;

UFUNCTION()
TArray<FString> GetAnimalOptions() const
{
    return { "Cat", "Dog", "Elephant" };
}

```

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/4/a640ffde0aa30662b00a413807af9c652d5c9126.png)

> ⚠ Now, unfortunatly this only seems to work with UPROPERTY and not UPARAM, so you won’t be able to use it in Function Inputs.

> ⚠ The function that returns the array of options _must_ be a `UFUNCTION()` or it will not work. The editor searches through the hierarchy of owning objects for the `UPROPERTY()`, using the first `UFUNCTION` it finds with a matching names.

From:

> **[All UPROPERTY Specifiers](https://unreal-garden.com/docs/uproperty/#getoptions)**
>
> Sample code, screenshots and comments for all specifiers, including undocumented ones.

---

<div class="post-metadata">

**Author:** ![Cyndeon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyndeon/32/1141847_2.png) [@Cyndeon](https://forums.unrealengine.com/u/Cyndeon)\
**Post date:** [September 22, 2025, 2:48pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/5 "2025-09-22T14:48:13Z")

</div>

I have indeed seen the GetOptions meta before but as you already stated that did not work for my node which is what I wanted.

I thought that perhaps there was a way to do it that I just couldn’t figure out, but it appears that what I want simply isn’t possible without dedicating a ton of time to making a whole custom editor plugin or something similar or perhaps it just isn’t possible at all in the current version of Unreal.

Appreciate the response however 😃

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [September 23, 2025, 5:29am UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/6 "2025-09-23T05:29:32Z")

</div>

> [@Cyndeon](#):
>
> I thought that perhaps there was a way to do it that I just couldn’t figure out,

could you use a DataTable it should allow you to pick only row names

---

<div class="post-metadata">

**Author:** ![Cyndeon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyndeon/32/1141847_2.png) [@Cyndeon](https://forums.unrealengine.com/u/Cyndeon)\
**Post date:** [September 25, 2025, 12:17pm UTC](https://forums.unrealengine.com/t/bp-node-fstring-variable-with-auto-complete-and-or-dropdown-is-this-possible/2656661/7 "2025-09-25T12:17:02Z")

</div>

I tried that but couldnt seem to find a way to pre-set the data table, so the user would still have to set the data table every time before getting the dropdown, which is just an extra click that would get rather annoying. I will admit that the idea has potential and I will look further into it if I have the time later 😃
