- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 01:51 AM
Hi All,
I'm trying to create a drop-down field with some options in the Service Portal Widget, drop-down is created but i'm not sure as how can i add options to ti.
HTML script:-
<select type="text" id="mySelect" class="dropdown" ng-model="c.data.personalDetail.LevelOfAccess" required><select/>
i want the drop down to look like below, with the default option as none:-
Any help is appreciated on the scrip to add options to the above drop down.
Regards,
Dhruv Chandan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 05:42 AM
<select type="text" id="mySelect" class="dropdown" ng-model="c.data.personalDetail.LevelOfAccess" required>
<option value="none" selected>None</option>
<option value="admin">Admin</option>
<option value="user">User</option>
</select>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 03:17 AM
How can we get the Drop down value from the fields in portal widget, i need to concatenate two drop down field values and populate on to the short description field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2018 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2018 01:10 AM
Hi Chinmayee,
I've already marked the answer as correct, Please check the thread.
Thanks,
Dhruv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2020 12:47 AM
<select class="form-control" ng-model="c.data.user" id="req">
<option ng-repeat="fetchUser in data.users" value="fetchUser.sysid">{{fetchUser.name}}</option>
</select>
I am using this code to get the values in the requester field but I am not able to fetch its value I am getting the output as undefined by using
alert("requester="+c.data.user.value);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2021 01:14 PM