Skip to content

fix(form): [form] Fix the popper-options page demo style issue #3114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="demo-form">
<div class="scroll-parent">
<tiny-form ref="formRef" :model="createData" label-width="60px" :popper-options="{ bubbling: true }">
<tiny-form ref="formRef" :model="createData" label-width="70px" :popper-options="{ bubbling: true }">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the change in label-width from 60px to 70px does not affect the layout or functionality of other components within the demo. Verify that this change resolves the style issue without introducing new problems.

<tiny-form-item label="姓名" prop="name" required>
<tiny-input v-model="createData.name"> </tiny-input>
</tiny-form-item>
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/form/popper-options.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="demo-form">
<div class="scroll-parent">
<tiny-form ref="form" :model="createData" label-width="60px" :popper-options="{ bubbling: true }">
<tiny-form ref="form" :model="createData" label-width="70px" :popper-options="{ bubbling: true }">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the change in label-width from 60px to 70px does not affect the layout or functionality of other components within the demo. Verify that this change resolves the style issue without introducing new problems.

<tiny-form-item label="姓名" prop="name" required>
<tiny-input v-model="createData.name"> </tiny-input>
</tiny-form-item>
Expand Down