vuetifyjs/vuetify

[Bug Report][3.6.9] V-input with counter and hide-details='auto' Fails to Fully Hide Details

Open

#19998 opened on Jun 12, 2024

View on GitHub
 (4 comments) (1 reaction) (0 assignees)TypeScript (40,995 stars) (7,139 forks)batch import
C: VTextFieldS: maybeT: bughelp wanted

Description

Environment

Vuetify Version: 3.6.9 Vue Version: 3.4.27 Browsers: Chrome 125.0.0.0 OS: Windows 10

Steps to reproduce

N/A

Expected Behavior

When using v-input with the hide-details prop set to auto and counter enabled, the details section should automatically hide if there is nothing to display. This means that if the input meets all validation criteria or there are no errors or additional messages to show, the details area should remain collapsed, preventing any unnecessary space or blank areas under the input field.

Actual Behavior

Despite the hide-details prop being set to auto, the v-input details section remains persistently visible when the counter is enabled. This results in a persistent blank space underneath the input field even when there are no messages or errors to display.

Reproduction Link

https://play.vuetifyjs.com/#...

Contributor guide