[pbs-devel] applied: [PATCH proxmox-backup] ui: tape/Restore: fix form validation for datastore mapping

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 17 13:36:03 CEST 2022


Am 5/17/22 um 11:47 schrieb Dominik Csapak:
> 'defaultStore' can be '' or null, so check for truthyness
> also, we want the mapping to be a formField so that the validation
> triggers and the restore button gets en/disabled accordingly. We
> still have to call 'getValue' manually, because the onGetValues will get
> it as string instead of an array
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/tape/window/TapeRestore.js | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pbs-devel mailing list