Skip to content

Commit 6062f06

Browse files
Merge pull request #1960 from shivendra-webkul/inline
Fixed Inline text type component large content issue
2 parents 95c919d + 82fd498 commit 6062f06

File tree

1 file changed

+1
-1
lines changed
  • packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline

1 file changed

+1
-1
lines changed

packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/text.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class="group relative h-[18px] !w-full pl-2.5"
3737
:style="{ 'text-align': position }"
3838
>
3939
<span class="cursor-pointer truncate rounded">
40-
@{{ valueLabel ? valueLabel : inputValue?.length > 20 ? inputValue.substring(0, 20) + '...' : inputValue }}
40+
@{{ (valueLabel || inputValue || '').length > 20 ? (valueLabel || inputValue).substring(0, 20) + '...' : (valueLabel || inputValue) }}
4141
</span>
4242
4343
<!-- Tooltip -->

0 commit comments

Comments
 (0)