gd-sprest-bs 10.2.9 → 10.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -208,14 +208,11 @@ var Field = function (props) {
208
208
  }
209
209
  // Get the items
210
210
  var items = getChoiceItems(displayRadioButtons, props.field, props.value);
211
- // See if this is not a required field, or if the allow fill in option is set
212
- if ((!isRequired && !displayRadioButtons) || allowFillIn) {
213
- // Add a blank entry
214
- items = [{
215
- text: "",
216
- value: null
217
- }].concat(items);
218
- }
211
+ // Add a blank entry
212
+ items = [{
213
+ text: "",
214
+ value: null
215
+ }].concat(items);
219
216
  // See if we are allowing custom values
220
217
  if (allowFillIn) {
221
218
  // Set the base validation
@@ -71,7 +71,7 @@ var renderDisplay = function (fieldName, props) {
71
71
  isDisabled: true,
72
72
  label: fieldName,
73
73
  name: fieldName,
74
- type: core_1.Components.FormControlTypes.Readonly,
74
+ type: core_1.Components.FormControlTypes.TextField,
75
75
  value: value || html
76
76
  };
77
77
  }