[pve-devel] [PATCH manager 1/2] ui: form: add DescriptionFieldContainer

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Apr 22 12:17:24 CEST 2024


Am 22/04/2024 um 09:43 schrieb Dominik Csapak:
> this is a field container, showing a field on the left column and a
> description on the right one, with a (default) flex ratio of 1:2
> 
> this is helpful when wanting a longer description on the right column
> but still have the fields aligned.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> alternatively, we could make a more generic '2column' container, where
> we give a 'leftFieldConfig' and a 'rightFieldConfig', and just
> let the user put in a displayfield on the right?
> 
> would be the more generic solution that could also work when we don't
> want to have a description in the right column
> 

just for the record, the more generic solution is the one that got in,
making this series obsolete:

https://git.proxmox.com/?p=pve-manager.git;a=commit;h=9540e48c0fae5356c3eebabf30f2a708d8d7c939




More information about the pve-devel mailing list