Checkbox "caption" feature #1126
Closed
groucho86
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 1 reply
-
@groucho86 thanks for the suggestion. But Quasars checkboxes do not have a caption. The example you've linked is just a combination of multiple elements: <q-item tag="label" v-ripple>
<q-item-section avatar>
<q-checkbox v-model="color" val="orange" color="orange" />
</q-item-section>
<q-item-section>
<q-item-label>Orange</q-item-label>
<q-item-label caption>With description</q-item-label>
</q-item-section>
</q-item> NiceGUI does not yet implement with ui.row():
ui.checkbox().classes('mt-[-2px]')
with ui.column().classes('gap-0'):
ui.label('Orange')
ui.label('With description').classes('text-xs text-gray-500') In a with ui.element('q-list'):
with ui.element('q-item'):
with ui.element('q-item-section').props('avatar'):
ui.checkbox()
with ui.element('q-item-section'):
ui.label('Orange')
ui.label('With description').classes('text-xs text-gray-500') |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would be great if checkbox's caption could be implemented:
https://quasar.dev/vue-components/checkbox#with-qitem
Beta Was this translation helpful? Give feedback.
All reactions