On Fri Dec 5, 2025 at 3:34 PM CET, Dominik Csapak wrote:
> For some reason, using a space separated list of classes in `itemCls`
> breaks the extjs debug mode. This is seemingly allowed everywhere else,
> so to fix it, simply apply the classes directly to the children
> with 'default'.
>
> Signed-off-by: Dominik Csapak <[email protected]>
> ---
>  src/form/RRDTypeSelector.js | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/form/RRDTypeSelector.js b/src/form/RRDTypeSelector.js
> index bbb5d86..51ae23a 100644
> --- a/src/form/RRDTypeSelector.js
> +++ b/src/form/RRDTypeSelector.js
> @@ -75,7 +75,9 @@ Ext.define('Proxmox.form.RRDTypeSelector', {
>              xtype: 'segmentedbutton',
>              allowMultiple: false,
>              allowToggle: true,
> -            itemCls: 'x-btn-default-toolbar-small proxmox-inline-button',
> +            defautl: {

s/defautl/default ;)

Thanks for identifying and fixing this so quickly!

> +                cls: 'x-btn-default-toolbar-small proxmox-inline-button',
> +            },
>              items: [
>                  {
>                      text: gettext('Maximum'),



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to