Skip to content

Commit

Permalink
Merge pull request #998 from geoadmin/bug-PB-798-icon-label
Browse files Browse the repository at this point in the history
PB-798: Leading/ending white spaces character is not supported in KML feature name - #patch
  • Loading branch information
ltshb authored Jul 12, 2024
2 parents dc01417 + 7689ed0 commit b813fff
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/modules/infobox/components/styling/FeatureStyleEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const debounceDescriptionUpdate = debounce(updateFeatureDescription, 300)
function updateFeatureTitle() {
store.dispatch('changeFeatureTitle', {
feature: feature.value,
title: title.value,
title: title.value.trim(),
...dispatcher,
})
}
Expand Down Expand Up @@ -186,6 +186,7 @@ function mediaTypes() {
:class="{
'form-control-plaintext': readOnly,
}"
rows="1"
></textarea>
</div>
Expand Down Expand Up @@ -302,9 +303,3 @@ function mediaTypes() {
</div>
</div>
</template>
<style lang="scss" scoped>
.feature-title {
height: 1rem;
}
</style>

0 comments on commit b813fff

Please sign in to comment.