diff --git a/examples/sites/demos/mobile-first/app/input/display-only-popup-more.vue b/examples/sites/demos/mobile-first/app/input/display-only-popup-more.vue new file mode 100644 index 0000000000..fd6678c4f0 --- /dev/null +++ b/examples/sites/demos/mobile-first/app/input/display-only-popup-more.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/examples/sites/demos/mobile-first/app/input/webdoc/input.js b/examples/sites/demos/mobile-first/app/input/webdoc/input.js index 97bac0f1c8..4d67d1fccf 100644 --- a/examples/sites/demos/mobile-first/app/input/webdoc/input.js +++ b/examples/sites/demos/mobile-first/app/input/webdoc/input.js @@ -508,6 +508,20 @@ export default { 'en-US': '

bbutton click

' }, codeFiles: ['display-only-content.vue'] + }, + { + demoId: 'display-only-popup-more', + name: { + 'zh-CN': '文本域只读超出显示更多按钮', + 'en-US': 'Text field read-only beyond Show more button' + }, + desc: { + 'zh-CN': + '在只读的基础上增加popup-more属性,可使文本域超出显示更多按钮,点击更多按钮可以查看详细信息。', + 'en-US': + 'The popup-more attribute is added to enable the text field to exceed the display of more buttons. You can click more buttons to view details.' + }, + codeFiles: ['display-only-popup-more.vue'] } ] } diff --git a/packages/vue/src/input/src/mobile-first.vue b/packages/vue/src/input/src/mobile-first.vue index 9862b1bf51..0e3360b54d 100644 --- a/packages/vue/src/input/src/mobile-first.vue +++ b/packages/vue/src/input/src/mobile-first.vue @@ -314,7 +314,7 @@ :close-on-click-modal="false" @update:visible="state.showDisplayOnlyBox = $event" > -
{{ state.displayOnlyText }}
+
{{ state.displayOnlyText }}