From e838f380c5be878e1fd6138eeee8f9e511a6bb87 Mon Sep 17 00:00:00 2001 From: dinurp Date: Wed, 10 Nov 2021 11:18:41 +0400 Subject: [PATCH] annotation to make language value list a drop down. type:#Fixed was not rendering the value list as a drop down. There was not UI validation for values entered. The added annotation does both these: UI validation and renders the a drop down list. --- fiori/app/admin/fiori-service.cds | 1 - 1 file changed, 1 deletion(-) diff --git a/fiori/app/admin/fiori-service.cds b/fiori/app/admin/fiori-service.cds index 7fc51e08..fc1987cb 100644 --- a/fiori/app/admin/fiori-service.cds +++ b/fiori/app/admin/fiori-service.cds @@ -87,7 +87,6 @@ annotate AdminService.Books.texts with @( annotate AdminService.Books.texts { locale @ValueList:{entity:'Languages'}; locale @Common.ValueListWithFixedValues:true; //show as drop down, not a dialog - locale @Common.ValueListForValidation:''; // validate against this list } // In addition we need to expose Languages through AdminService as a target for ValueList using { sap } from '@sap/cds/common';