From 93a0152e3a22d168f9331d414b03dd3ac4f3723d Mon Sep 17 00:00:00 2001 From: GermanBluefox Date: Thu, 9 Jan 2025 23:08:27 +0000 Subject: [PATCH] Added description for Controller fabric label: https://github.com/ioBroker/ioBroker.matter/issues/297 --- src-admin/src/Tabs/Options.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src-admin/src/Tabs/Options.tsx b/src-admin/src/Tabs/Options.tsx index 332b9f2..83d91c7 100644 --- a/src-admin/src/Tabs/Options.tsx +++ b/src-admin/src/Tabs/Options.tsx @@ -574,6 +574,11 @@ class Options extends Component {
{I18n.t('Controller Settings')} + + {I18n.t( + 'The label set here is used as Label when ioBroker connects to a device as device and might be shown by other Controllers in their overviews about other connected ecosystems.', + )} + { onChange={e => this.props.onChange('controllerFabricLabel', e.target.value)} margin="normal" slotProps={{ + htmlInput: { + maxLength: 32, + }, input: { endAdornment: this.props.native.controllerFabricLabel ? ( { ) : null, }, }} - style={styles.input} + helperText={I18n.t('Max 32 characters')} + style={{ + ...styles.input, + maxWidth: 350, + }} />