TOTP's strength is that you can verify ownership of it a very short string which does not reveal the passcode.
Good point that you should be storing your TOTP's in 1password, some other encrypted store or on-device only.