-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field type for
Contact:preferred_language
- Loading branch information
Dominic Tubach
committed
Sep 18, 2024
1 parent
d35f9f4
commit 37b679f
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ang/crmRemoteEventFormEditor/option-group/select-initial-option.template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<select id="{{id}}" class="form-control" ng-model="value" ng-required="required"> | ||
<option ng-if="!required"></option> | ||
<option ng-repeat="(label, value) in options" ng-show="allowed.includes(value)" ng-value="{{value}}">{{label}}</option> | ||
<option ng-value="null" ng-if="!required"></option> | ||
<option ng-repeat="(label, value) in options" ng-show="allowed.includes(value)" ng-value="value">{{label}}</option> | ||
</select> |