Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: JSONConfig we need for password field an eye #2776

Open
1 task done
arteck opened this issue Oct 19, 2024 · 2 comments
Open
1 task done

[bug]: JSONConfig we need for password field an eye #2776

arteck opened this issue Oct 19, 2024 · 2 comments

Comments

@arteck
Copy link

arteck commented Oct 19, 2024

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

grafik

we need an eye for psw in one line

Adapter version

7.2.6

js-controller version

7.0

Node version

20

Operating system

linux

@arteck arteck added the bug label Oct 19, 2024
@arteck arteck changed the title [bug]: JSONConfig we need for password fiel an eye [bug]: JSONConfig we need for password field an eye Oct 19, 2024
@klein0r
Copy link
Contributor

klein0r commented Oct 22, 2024

visible: true should work

- `password` - password field
This field-type just have an effect in the UI.
Passwords and other sensitive data should be stored encrypted!
To do this, the key must be provided in the io-package.json under [nativeEncrypted](https://github.com/ioBroker/ioBroker.js-controller#automatically-encryptdecrypt-configuration-fields).
Additionally, you can protect this property from being served to other adapters but `admin` and `cloud` by adding it to `protectedNative` in `io-package.json` file.
- `repeat` - repeat password must be compared with password
- `visible` - true if allow viewing the password by toggling the view button (only for a new password while entering)
- `readOnly` - the read-only flag. Visible is automatically true if readOnly is true
- `maxLength` - max length of the text in field

@arteck
Copy link
Author

arteck commented Oct 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants