179
Views
2
Comments
OS10 : add custom attributes in option value in select (combo Box)?

Hello Everyone,


Can I add custom attributes in option value in select (combo Box).

By using extended property, i can only able to add it to select element. Is there any way to add into a option element at page build time?

like this,

<option value="12" data-customatrribute="123" >NAME</option>


Thanks,

Ali Amin

2018-09-27 18-20-33
Swatantra Kumar
Champion

Hi Ali,

Checkout this post which explains step-by-step how to add value using custom variable.  https://www.outsystems.com/forums/discussion/46021/hi-all-can-we-store-any-value-to-the-variable-declared-in-dropdown-combobox/#Post167806

2021-03-30 06-52-52
Ali Amin

Hello Swatantra,


This post wasn't helpful. The post explain how to hold custom value in drop-down. This was not my problem.  I want to add attributes in html option element.. if possible.

Let me know if i can help you more to understand the question.


Regards

Ali Amin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.