-
Notifications
You must be signed in to change notification settings - Fork 6
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
YSHOP2-1133: Add ResourcePicker component #184
Conversation
packages/vue3/package.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bumped vue to add support for external types import in SFC (ref: vuejs/core#8083)
function handleCheck(e: Event) { | ||
const res: Resource = { ...props.resource }; | ||
emit('change', e, res); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function handleCheck(e: Event) { | |
const res: Resource = { ...props.resource }; | |
emit('change', e, res); | |
} | |
function handleCheck(e: Event) { | |
emit('change', e, props.resource); | |
} |
<template> | ||
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="$props.indeterminate" @change.stop="handleCheck"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this work?
<template> | |
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="$props.indeterminate" @change.stop="handleCheck"> | |
<template> | |
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="indeterminate" @change.stop="handleCheck"> |
JIRA Ticket
YSHOP2-1133
QA Steps
pnpm install
http://localhost:3000/