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

bug: class do not apply to both inputs #37

Closed
ashwin-nath-m opened this issue Jun 30, 2024 · 2 comments
Closed

bug: class do not apply to both inputs #37

ashwin-nath-m opened this issue Jun 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ashwin-nath-m
Copy link

ashwin-nath-m commented Jun 30, 2024

Expected Behavior

Margin should be applied to both country select and phone input

Actual Behavior

margin only applied to phone input

Steps to Reproduce the Problem

<v-phone-input v-model="mobile" defaultCountry="US" guessCountry="true" variant="underlined"
                            class="mt-3"></v-phone-input>

Specifications

  • OS: OSX
  • Browser: Firefox
  • Browser version: 127
  • Package version: 4.2.1
  • Vuetify version: 3.6.10
@paul-thebaud paul-thebaud changed the title Issue when applying margin question: class do not apply to both inputs Jun 30, 2024
@paul-thebaud paul-thebaud changed the title question: class do not apply to both inputs bug: class do not apply to both inputs Jun 30, 2024
@paul-thebaud
Copy link
Owner

Hello, I can confirm there is a bug here. When passing class prop, it applies to both wrapper div and phone input, where it should only apply to wrapper div. I'll try to fix this soon.

If you need to pass attributes to both inputs, prefer using country-props and phone-props properties.

@paul-thebaud paul-thebaud added the bug Something isn't working label Jun 30, 2024
@paul-thebaud
Copy link
Owner

@ashwin-nath-m this is fixed in v4.2.2. Documentation about attrs inheritance is now in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants