The answer which i came up with for my situation in the end was way simpler than i thought it was going to be, i just needed a password text input field so:
using BasicSecureTextField
instead of TextInput
which as parameter has textObfuscationMode = TextObfuscationMode.RevealLastTyped
, this is definitately the preferred way of making a password input field for accessibility as well as all the inert functionality you would want in a password input field