{{ activity.name }}
</td>
<td>
- <!-- <select ng-model="activity.status" ng-options="value for (key,value) in activityStatuses|orderBy:'value'"> -->
- <select ng-model="activity.status" ng-options="actStatus.name as actStatus.name for actStatus in activityStatuses|orderBy:'name'">
- <option value=""></option>
+ <select
+ ng-model="activity.status"
+ ng-options="actStatus.name as actStatus.name for actStatus in activityStatuses|orderBy:'name'"
+ >
</select>
</td>
<td>
- <select ng-model="activity.reference_activity" ng-options="actType.name as actType.name for actType in activityTypes|orderBy:'name'">
- <option value=""></option>
+ <select
+ ng-model="activity.reference_activity"
+ ng-options="actType.name as actType.name for actType in activityTypes|orderBy:'name'"
+ ng-hide="activity.name == 'Open Case'"
+ >
</select>
</td>
<td>
- <input class="number" type="text" ng-pattern="/^[0-9]*$/" ng-model="activity.reference_offset" />
+ <input
+ class="number"
+ type="text"
+ ng-pattern="/^[0-9]*$/"
+ ng-model="activity.reference_offset"
+ ng-hide="activity.name == 'Open Case'"
+ required
+ />
</td>
<td>
- <select ng-model="activity.reference_select" ng-options="key as value for (key,value) in {newest: 'Newest', oldest: 'Oldest'}">
- <option value=""></option>
+ <select
+ ng-model="activity.reference_select"
+ ng-options="key as value for (key,value) in {newest: 'Newest', oldest: 'Oldest'}"
+ ng-hide="activity.name == 'Open Case'"
+ >
</select>
</td>
<td>