I am trying to remove the Slider Widget in Unit Search and replace it with a Text Box Widget. Like I want to type the value I want and the Unit POI under that value in Data Table is highlighted.
I have added the Text Box but I dont know how to connect it with the value change.
I add the On Text Change event but after that i have tried to connect it to the already set functions of the slider widget but that doesnt work.
Sorry for the unclear instructions.
I am working on an archviz project. I am using the Archviz Explorer Template.
I am attaching a picture to better explain.
As you can see there is an option to scroll through all the units available in a residential apartment complex. The floors are scrolled through a Slider. I want to replace that with a Text Box.
The slider’s OnValueChange is probably hooked up to the DT look up. Could you show that bit of the script and the bit you’re having issue with.
In short: instead of the slider scrubbing through whatever it scrubs, you’d rather type in a Name and retreive associated data from the table. Am I getting close?
As in my previous pic. You cannot connect those two the way you want because from the engine’s point of view, it makes no sense. A slider is not text.
Besides, a rule of thumb in UMG is to not query widgets for data, have them report it - that’s what delegates are for. Even this bit is already set up in a dodgy, potentially unsafe way:
If this is a part of the standard template, it’s kind of spooky. Epic not following what they preach? It’s all a tad weird since sliders directly support ranges so there’s no need for remapping to start with. Irrelevant here though since you want to get rid of it anyway…