[pve-devel] applied: [PATCH v5 widget-toolkit 1/3] window/edit: add option to disable reset button

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 13 09:08:38 CEST 2021


On 15.02.21 16:26, Aaron Lauterer wrote:
> Sometimes the reset button does not make sense and the isCreate option
> does not fit as well because with it, the submit button will be enabled
> right away instead of waiting for the form to be valid.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> 
> v1 -> v2 -> v3 -> v4 -> v5: nothing changed
> 
> This helps to reuse the PVE.window.Edit component in a modern viewModel
> and controller way instead of building it all by hand the old way with a
> large initComponent method.
> 
> A possible candidate for refactoring after this would be the
> qemu/HDMove.js component.
> 
> 
>  src/window/Edit.js | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list