element icon indicating copy to clipboard operation
element copied to clipboard

[Feature Request] `el-input-number` support slots: prepend & append

Open ishowman opened this issue 6 years ago • 6 comments

Existing Component

Component Name

el-input-number

Description

Expected:

el-input-number can custom by prepend & append slot.

Example:

<el-input-number  v-model="input1">
    <template slot="prepend">Last</template>
    <template slot="append">days</template>
 </el-input-number>

by default, it is still the + & -

other

I found some issues shows that this function is supported before, I hope developers & maintaners can give a reason but not only tell me that it was not supported anymore.

related issues before:

  • https://github.com/ElemeFE/element/issues/11792#issuecomment-401223387
  • https://github.com/ElemeFE/element/issues/2652

ishowman avatar Jan 06 '20 07:01 ishowman

Translation of this issue:

Existing Component

yes

Component Name

el-input-number

Description

Expected:

el-input-number can custom by prepend & append slot. Example:

` ` ` `

by default, it is still the & -。 Other

I found some issues shows that this function is supported before, I hope developers & maintaners can give a reason but not only tell me that it was not supported anymore. related issues before:

  • https://github.com/ElemeFE/element/issues/11792#issuecomment-401223387
  • https://github.com/ElemeFE/element/issues/2652

element-bot avatar Jan 06 '20 07:01 element-bot

完成了么?

wutongci avatar Jul 04 '20 14:07 wutongci

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 13 '21 01:07 stale[bot]

Agree this would be great to have!

eloise-mcintyre avatar Jul 15 '21 23:07 eloise-mcintyre

agree, it should be there, it is an improvement

Awaiszeeshan avatar Nov 05 '21 05:11 Awaiszeeshan

it would be great

spp28rus avatar Feb 15 '24 20:02 spp28rus