freeipa-webui
freeipa-webui copied to clipboard
[UI] Implement a new read-only widget to handle boolean parameters
Some boolean parameters (e.g.: has_password
) are being represented in the WebUI with the IpaTextInput
component. As these components can only process strings, this way of representing boolean parameters is not efficient.
Goal:
- Implement a new reusable Ipa component to handle boolean parameters
- The new component needs to be read-only
- Components to consider: read-only component similar to Text input that conditionally renders a custom text/string.
Originally posted by @pvoborni in https://github.com/freeipa/freeipa-webui/pull/136#discussion_r1302576588