Read in User and set in HTML Form Option

Hi @SebLei77,

It works properly if track by is used as in below

<select required
	cam-variable-name="cmbApprover"
	cam-variable-type="String"
	ng-model="selectedUser"
	ng-options="user as (user.firstName + ' ' + user.lastName) for user in users track by user.id">
</select>

or if ng-repeat is used

<select required
	cam-variable-name="cmbApprover"
	cam-variable-type="String"
	ng-model="selectedUser">
	<option ng-repeat="user in users" value="{{user.id}}">{{ user.firstName + ' ' + user.lastName }}</option>
</select>

Personally I don’t use cam-variable-* directives. Instead I use pure ng-model directive only and do variable manipulations utilizing javascript camForm.variableManager object as in below post