FlowFuse / FlowFuse/node-red-dashboard

vuetify text field hint not working. Is this a vuetify bug or node-red issue?

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
size:XS type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

vuetify text-field not working when a 'hint' is defined: Hint appears at the right instead of underneath & widget becomes unusable

I used the vuetify text-field to create a control for resetting an error condition::
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/48a5963d-cfab-4344-8a0b-8e9f8ddb59e4)
This includes a 'hint', which in the examples on the vuetify web site, appears under the text field (see https://vuetifyjs.com/en/components/text-fields under 'hints and messages)
However on my dashboard the hint appears to the right of the text field, compressing the text field and making it unusable
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/6ff2cfb7-3bed-4e1d-9917-6ac9b390a299)
My control is a bit complex, but the same happens with the most basic:
Here is the code from the template
"<" v-text-field label="Password" type="input" hint="Enter your password to access this website">"
Here is the result
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/40d14395-bec2-4d75-98a4-c23d78949600)
Focus on the text field and we get
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/c9d4aaef-6d10-41d3-95e4-9857f27fb357)

Inspecting the html
For my dashboard the text field is divided in four, with the hint text at the bottom right
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/af2fd5f8-903a-484a-992c-a6b4af111686)

For the vuetify example I see the text-field is divided in two with the hint at the bottom
![image](https://github.com/FlowFuse/node-red-dashboard/assets/41355165/9e1fe283-b242-4b3d-a3cb-431c669b5029)

For now I remove the hint. Not urgent

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.