Modifying a `Slider::setPopupDisplayEnabled()` pop-up to enter text

Does anyone had have a modification of Slider::setPopupDisplayEnabled() that allows one to enter text in the pop-up window? Or, does anyone have another method of doing so? I really like the pop-up look-and-feel, would love to be able to enter text in the same window, and don’t know where to start if I were to accomplish this. Thank you!