fix(multiselect): corrige emissão do valor 'on' ao clicar no checkbox - #1120
Merged
Conversation
O preventDefault no clique do input nativo impede que o toggle do checkbox dispare eventos input/change com target.value 'on', que borbulhavam até handlers do consumidor via .
Contributor
Greptile SummaryCorrige o comportamento do checkbox visual do Multiselect.
Confidence Score: 5/5O pull request parece seguro para merge, sem falhas funcionais ou de segurança acionáveis identificadas. O label continua propagando o clique para o mecanismo de seleção da opção, enquanto o clique sintético subsequente no input é interrompido para evitar a emissão indevida do valor
|
| Filename | Overview |
|---|---|
| src/components/Multiselect.vue | A alteração evita a emissão do valor nativo do checkbox e mantém a seleção pelo clique propagado no label, sem falhas acionáveis identificadas. |
Reviews (1): Last reviewed commit: "fix(multiselect): corrige emissão do val..." | Re-trigger Greptile
lucasn4s
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Por favor, verifique se o seu pull request está de acordo com o checklist abaixo:
1 - Resumo
2 - Tipo de pull request
3 - Esse PR fecha alguma issue? Favor referenciá-la
4 - Quais são os passos para avaliar o pull request?
5 - Imagem ou exemplo de uso:
6 - Esse pull request adiciona breaking changes?