diff --git a/packages/input/tests/input.stories.js b/packages/input/tests/input.stories.js
index 436b287..725ad25 100644
--- a/packages/input/tests/input.stories.js
+++ b/packages/input/tests/input.stories.js
@@ -1,5 +1,5 @@
import TournantInput from '../src/index.vue'
-import { withKnobs, text } from '@storybook/addon-knobs'
+import { withKnobs, text, radios } from '@storybook/addon-knobs'
// const dataNoError = { $error: false, $dirty: false }
@@ -67,11 +67,35 @@ export const withError = () => ({
`
})
+const descriptionPositions = {
+ Top: 'top',
+ Bottom: 'bottom'
+}
+
export const withDescription = () => ({
components: { TournantInput },
+ props: {
+ descriptionPosition: {
+ default: radios(
+ 'Description position',
+ descriptionPositions,
+ 'bottom',
+ 'tuidescpos'
+ )
+ }
+ },
data: () => ({
validation: { $error: false, $dirty: false },
password: ''
}),
- template: ``
+ template: `
+
+ `
})