@enso-ui/select 3.0.19 → 3.1.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/select",
3
- "version": "3.0.19",
3
+ "version": "3.1.0",
4
4
  "description": "Select",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,6 +15,7 @@
15
15
  }">
16
16
  <dropdown :disabled="dropdownDisabled"
17
17
  :manual="multiple || canAddTag || !allowsSelection"
18
+ :opens-up="opensUp"
18
19
  @hide="reset()"
19
20
  ref="dropdown">
20
21
  <template #trigger="{ triggerEvents, open }">
@@ -173,6 +174,10 @@ export default {
173
174
  search: 'Search...',
174
175
  }),
175
176
  },
177
+ opensUp: {
178
+ type: Boolean,
179
+ default: false,
180
+ },
176
181
  placeholder: {
177
182
  type: String,
178
183
  default: 'Pick an option',
@@ -391,7 +391,7 @@ export default {
391
391
  return params;
392
392
  },
393
393
  requestValue() {
394
- if (!this.objects) {
394
+ if (!this.objects || this.modelValue === null) {
395
395
  return this.modelValue;
396
396
  }
397
397