09-23-2022 14:56 - edited 09-23-2022 14:57
09-23-2022 14:56 - edited 09-23-2022 14:57
I accept a username/password in the settings ux for my clockface, but would like to replace the displayed text **** when looking at the settings UX.
I believe the correct way to do this is via the renderItem option -- but can't find an example.
<TextInput
title="Password"
label="Password"
renderItem={ (value) => {
return "<Text>*****</Text>";
}
}
settingsKey="password"
/>