Skip to content
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

[ Feature Request ] onClickPrefix and onClickSuffix events #272

Closed
Laravelka opened this issue Jan 25, 2022 · 1 comment
Closed

[ Feature Request ] onClickPrefix and onClickSuffix events #272

Laravelka opened this issue Jan 25, 2022 · 1 comment

Comments

@Laravelka
Copy link

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Hi, can you add onClickPrefix and onClickSuffix events for input?

Describe alternatives you've considered

<span v-if="prefixIcon" class="it-input-icon-wrapper" @click="emit('clickPrefix', $event')">

<span v-if="suffixIcon" class="it-input-icon-wrapper" @click="emit('clickSuffix', $event')">

Additional context

No response

@quatrochan
Copy link
Collaborator

Input prefix and suffix now has slots. You can use onClick on the lement in slot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants