Hey team!
Despite 7.x being out, there still seems to be problems with Vue support.
This is my story:
import NumberField from '../NumberField.vue';
import type { Meta, StoryObj } from '@storybook/vue3';
const meta: Meta<typeof NumberField> = {
title: 'Shared/NumberField',
component: NumberField,
tags: ['autodocs'],
argTypes: { 'onUpdate:modelValue': { action: 'update:modelValue' } },
};
export const Basic: StoryObj<typeof NumberField> = {
render: (args) => ({
components: { NumberField },
setup() {
return { args };
},
template: '<NumberField v-bind="args" />',
}),
args: {
min: 0,
max: 100,
},
};
export default meta;
the args don't really seem dynamic. see video below