We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db1220d + 651c731 commit b259e90Copy full SHA for b259e90
src/Pi.vue
@@ -58,7 +58,7 @@
58
description="The id of the entity you want to configure">
59
<b-form-select size="sm" id="entity" v-on:change="service = null" v-model="entity" :options="domainEntities"
60
value-field="value.entityId"
61
- text-field="value.name"></b-form-select>
+ text-field="text"></b-form-select>
62
</b-form-group>
63
64
<b-form-group
@@ -374,7 +374,7 @@ export default {
374
}
375
376
)
377
- .sort((a, b) => (a.text > b.text) ? 1 : ((b.text > a.text) ? -1 : 0))
+ .sort((a, b) => (a.text.toLowerCase() > b.text.toLowerCase()) ? 1 : ((b.text.toLowerCase() > a.text.toLowerCase()) ? -1 : 0))
378
379
this.currentStates = states
380
.map((state) => {
0 commit comments