There is no cornerRadius for inputText (maybe that could be added?)
So what I do, I create a rectangle 5px bigger than the inputText that I add in this rectangle with a border. I also remove the border from the inputText which is now in the rectangle.
It gives what you’re asking for in a workaround, but it works visually.