Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Get native input for custom components #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rulrok
Copy link

@rulrok rulrok commented May 7, 2019

If the custom component hides the native input underneath its template, we still get the native input. Only expected to work if there is one input underneath the custom component;

If the custom component hides the native input underneath its template, we still get the native input. Only expected to work if there is one input underneath the custom component;
@50l3r
Copy link

50l3r commented May 30, 2019

Hi, this pull request its operative?

Actually, i need to do this:

<vs-input v-model="config.timeTrackTo" type="text" v-mask="'##:##'" />
<input class="hidden" type="text" v-mask="'##:##'" v-model="config.timeTrackTo">

If i only use my custom component, it doesnt work:

<vs-input v-model="config.timeTrackTo" type="text" v-mask="'##:##'" />

@rulrok rulrok marked this pull request as ready for review August 15, 2019 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants