word break underscore

This commit is contained in:
Pete Matsyburka
2024-04-05 19:08:59 +03:00
parent 8e2700b8b8
commit 226ae2172e
2 changed files with 6 additions and 3 deletions
@@ -14,7 +14,10 @@
@focus="$emit('focus', $event)"
@blur="onBlur"
>
{{ value }}
<template
v-for="(item, index) in (value || '').split(/(_)/)"
:key="index"
>{{ item }}<wbr></template>
</span>
<span
v-if="withRequired"