diff --git a/CHANGELOG.md b/CHANGELOG.md index b9c6e25bd9..cb73e02a18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +- 🙌 Fix ``'s boolean attributes were triggering completion with `=""`. Thanks to contribution from [@sapphi-red](https://github.com/sapphi-red). + ### 0.32.0 - Show deprecated hint in script block. diff --git a/server/src/modes/template/tagProviders/vueTags.ts b/server/src/modes/template/tagProviders/vueTags.ts index 3b904ed564..9cba75dc58 100644 --- a/server/src/modes/template/tagProviders/vueTags.ts +++ b/server/src/modes/template/tagProviders/vueTags.ts @@ -54,10 +54,10 @@ const vueDirectives = [ const transitionProps = [ getAttribute('name', undefined, 'Used to automatically generate transition CSS class names. Default: "v"'), - getAttribute('appear', 'b', 'Whether to apply transition on initial render. Default: false'), + getAttribute('appear', 'v', 'Whether to apply transition on initial render. Default: false'), getAttribute( 'css', - 'b', + 'v', 'Whether to apply CSS transition classes. Defaults: true. If set to false, will only trigger JavaScript hooks registered via component events.' ), getAttribute( @@ -133,7 +133,7 @@ const vueTags = { const valueSets = { transMode: ['out-in', 'in-out'], transType: ['transition', 'animation'], - b: ['true', 'false'] + v: ['true', 'false'] }; export function getVueTagProvider(): IHTMLTagProvider {