- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 04:36 AM
Hello All,
Im Having a issue with using a Item on a Record Producer.
I am using Type „Custom with Label“ for a variable that should Display the variable currency Widget.
It is displaying it, but just way too small, it is Stored inside a 2 Column container, but just using around 10% of the available Space.
can someone help me with that?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 07:30 PM
@Tobi_01 I faced the similar issue in the past, Since OOTB Variable Currency widget is read only. You need to make a clone of it and use that clone as a Custom with Label variable on your Record Producer.
Also, on your cloned widget, you need to add following CSS in the CSS field.
input.currency{
text-align: right;
width:auto;
}
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 11:33 PM
@Tobi_01 To make the field read only you need to use ng-disabled="true" in the input put attibutes
<input type="text" ng-model="page.fieldValue" ng-model-options="{getterSetter: true}" class="form-control currency" id="sp_formfield_{{::page.field.name}}" aria-required="{{page.field.isMandatory()}}" ng-attr-aria-invalid="{{page.field.isInvalid || error || undefined}}" ng-blur="formatCompensation()" ng-disabled="true"/>
Please mark my answers helpful and correct as they have already addressed the issue you initially reported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 12:15 AM
@Sandeep Rajput thanks again, it is working. So the Widget is read only now, but i Need it to be only read only based on some conditions. Setting the Read only value in an OnChange Client Script did Not work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 02:06 AM
You need to control this via the widget's client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 02:34 AM
@Sandeep Rajput Thank you very much for Your Support, i really appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 06:37 AM
but how to make currency dropdown editable ? is that possible to show currencies dropdown so that user can select?