Skip to content
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

VTable 'single' selection mode that disallows de-selection #112

Open
abulka opened this issue May 2, 2023 · 0 comments
Open

VTable 'single' selection mode that disallows de-selection #112

abulka opened this issue May 2, 2023 · 0 comments

Comments

@abulka
Copy link

abulka commented May 2, 2023

Feature request: Single select mode should have a mode where you cannot deselect what is selected. Something should always be selected. This is the way most single select table views, menus and select components I've experienced operate.

In its current behaviour, you can deselect what is selected by clicking on it again, which leaves you in a situation where nothing is selected, which for my users, is bad. Something should always be selected.

<template>
>
  <div>
    <VTable
      ref="commitsTable"
      :data="globals.commitsData"
      selectionMode="single"   <----- need improved version of this mode
      selectedClass="selected-row"
      @stateChanged="stateChanged"
    >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant