Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Conversation

@jpguilmette
Copy link
Contributor

Description

La prop Options provient parfois d'un appel async a un service. La valeur des options peut alors être temporaire undefined en attendant que les options soient obtenus. Une erreur était alors obtenu. Ce changement permet de supporter options=undefined. Il se comporte comme dans les cas options=[]

Types de changements

  • Correction de bug (sans breaking change)
  • Amélioration (ajout par example une nouvelle propriété, évènement, slot ou méthode à un composant existant sans breaking change)
  • Nouvelle fonctionalité (nouveau composant, directive, filtre ou service)
  • Breaking change (modification à une fonctionnalités existante qui nécessite une migration remplir la section release note)
  • Refactoring/ménage (sans breaking change)
  • Documentation/storybook (changement à la documentation ou aux storybooks qui n'affecte aucun package)
  • Autre

Comment cela peut-il être testé?

  • Test unitaire (un nouveau test unitaire à été fait)
  • Storybook
  • Test manuel / Sandboxes
  • Autre

Inclure cette section dans les release notes

Liens internes

@jpguilmette jpguilmette added the bug fix A non-breaking change which fixes an issue label Nov 5, 2020
options: undefined
}),
template: `<m-multi-select @open="open" @close="close" @focus="focus" @blur="blur" @select-item="select" :options="options" v-model="model1"></m-multi-select>`
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

les actions ne sont pas nécessaire ici ca fait juste du bruit dans le html (copier / coller ?)

Aussi j'aurais preferer un test unitaire au storybook pour ca cas vu qu'on devrait tester les cas onKeydownEnter onKeydownSpace etc....

@chuckmah chuckmah added this to the 1.2.14 milestone Nov 5, 2020
@chuckmah chuckmah merged commit 0edf1ab into master Nov 5, 2020
@chuckmah chuckmah deleted the bugfix/m-multi-select_options-undef branch November 5, 2020 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug fix A non-breaking change which fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants