[Vuejs]-How to anchor Quasar QInput/QSelect placeholder label at top and within the QInput/QSelect boxes even when no data added or selected in them?

0👍

There is a prop for this ‘stack-label’

stack-label : Boolean
Label will be always shown above the field regardless of field content
(if any)

documentation

code example

<q-input v-model="text" label="Display Name" stack-label />

Leave a comment