From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 7A6681FF16B for ; Fri, 10 Oct 2025 12:46:53 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1400611FFB; Fri, 10 Oct 2025 12:47:01 +0200 (CEST) Message-ID: <2efb1a01-a38e-4733-853b-63fbaa413439@proxmox.com> Date: Fri, 10 Oct 2025 12:46:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Yew framework devel list at Proxmox , Dietmar Maurer , Hannes Laimer References: <20251009133120.425255-1-h.laimer@proxmox.com> <20251009133120.425255-3-h.laimer@proxmox.com> Content-Language: en-US From: Thomas Lamprecht In-Reply-To: X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1760093155104 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.025 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [yew-devel] [PATCH proxmox-yew-comp v3 1/2] schema_validation: use Schema to populate field properties of number, check- and combobox X-BeenThere: yew-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Yew framework devel list at Proxmox List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yew framework devel list at Proxmox Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" Am 10.10.25 um 10:32 schrieb Dietmar Maurer: > partially applied. > > - setting placeholder is OK > > - setting tips from description is problematic, because those description are basically for developers and have no translations, so I think its not worth to do it. > > - setting field default values form schema default is most times not what you need (depends highly on your input form logic) > > - setting validator for Number makes no sense (schema.parse_simple_value() does not add any advantage, because values are already parsed - correct me if I am wrong) > > - auto-generating Combobox is usually not what we want, because we display translated, annotated items... I agree with all of those points. While re-using schema info is naturally great, it has a somewhat limited applications for frontend UI. _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel