Am 06.03.24 um 16:17 schrieb Maximiliano Sandoval:
> Fiona Ebner <f.eb...@proxmox.com> writes:
> 
>> It might be cleaner to just use
>> emptyValue: 0,
>> in the field declaration like is already done for the "Target Size"
>> field. And the same issue is also present for the "Min. # of PGs" field,
>> right?
> 
> Thanks for the emptyValue tip, I didn't know about it. Unfortunately, I
> tested this and it didn't work.
> 

Yes, sorry. Unfortunately, that is a feature specific to
PVE.form.SizeField, respectively Proxmox.form.SizeField.

For the "Min. # of PGs" field, we could add a similar feature to
proxmoxintegerfield. And the "Target Ratio" field is just a numberfield,
so would need yet another instance of the feature. So maybe not worth it.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to