[pve-devel] applied: [PATCH manager 1/1] ui: ceph: pool: don't always show advanced fields on create

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Mar 11 17:39:53 CET 2023


Am 10/03/2023 um 15:08 schrieb Dominik Csapak:
> since the ruleselector is not allowed to be empty, but the loading of
> the rules is not instant, the validity change will trigger before the
> load was finished. Since it is in the advanced section, it will be
> opened everytime instead of only when there is an invalid value.
> 
> This patch fixes that by temporarily setting 'allowBlank' to true
> until the store is loaded, and then it revalidates the field.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> note: this patch requires the previous widget-toolkit one to work
>  www/manager6/ceph/Pool.js | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list