You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to apply template for LOV field in layout?

Accepted answer
41
Views
5
Comments
edited Oct 11, 2023 3:57AM in Visual Builder Studio 5 comments

Summary:

How to apply template for LOV field in layout section.

Content (required):

I am using a dynamic form in layout which is created using service catalog API. In UI selected field show as a LOV. When I apply template to the field it change as input text. How to change that as LOV field.


Version (include the version you are using, if applicable):

23.10.0

Code Snippet (add any code snippets that support your topic, if applicable):

<template id="durationFieldTemplate">

  <oj-input-text value="{{ $value }}" label-hint="[[ $labelHint ]]"></oj-input-text>

  <!-- <oj-select-single label-hint="Duration" value="{{ $value }}" data="" item-text=""></oj-select-single> -->

</template>

If suppose to use oj-select-single what needs to map into 'data' and 'item-text' property?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!