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 Report][3.1.2] v-text-field details slot - not replacing default content #16535
Comments
Can confirm that it's still an issue on vuetify version: 3.1.7 |
Not 100% sure if the slot is designed to take over the whole messages section - I would assume it does. Is it as simple as checking if the slot is present before rendering vuetify/packages/vuetify/src/components/VInput/VInput.tsx Lines 176 to 187 in 9536451
|
Can confirm the issue with v.3.2.4. I can't properly use <template v-slot:details>
<div class="!absolute v-messages">
Some text with a <a href='#'>link</a>
</div>
</template> |
I think the reason for this is VTextField always passes a details slot for the counter, if the details slot replaced messages then VTextField would have to reimplement messages too. |
Environment
Vuetify Version: 3.1.2
Vue Version: 3.2.45
Browsers: Chrome 109.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
Add a #details slot to a v-text-field
Expected Behavior
Content of slot replaces everything in that area
Actual Behavior
Content of slot is placed in between errors and counter...
Reproduction Link
https://codepen.io/pasco82/pen/YzjLMvV?editors=1011
The text was updated successfully, but these errors were encountered: