-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temporary files for ease of testing kselect within a kmodal
- Loading branch information
1 parent
6f0ce72
commit 1e93df2
Showing
3 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<template> | ||
|
||
<DocsPageTemplate> | ||
<DocsPageSection title="Overview" anchor="#overview"> | ||
<DocsShow> | ||
<KModal | ||
:title="'KSelect inside KModal'" | ||
> | ||
<KSelect | ||
v-model="exampleData" | ||
:options="options" | ||
label="Who are you?" | ||
placeholder="Nobody" | ||
/> | ||
<p>Value: {{ exampleData }}</p> | ||
</KModal> | ||
</DocsShow> | ||
</DocsPageSection> | ||
</DocsPageTemplate> | ||
|
||
</template> | ||
|
||
<script> | ||
export default { | ||
data() { | ||
return { | ||
exampleData: null, | ||
options: [ | ||
{ | ||
label: 'Somebody', | ||
value: 'somebody', | ||
}, | ||
{ | ||
label: 'You used to know me', | ||
value: 'usedto', | ||
}, | ||
{ | ||
label: 'friend', | ||
value: 'friend', | ||
}, | ||
{ | ||
label: 'roman', | ||
value: 'roman', | ||
}, | ||
{ | ||
label: 'countryman', | ||
value: 'countryman', | ||
}, | ||
{ | ||
label: 'abraham lincoln', | ||
value: 'lincoln', | ||
}, | ||
{ | ||
label: 'albert einstein', | ||
value: 'einstein', | ||
}, | ||
{ | ||
label: 'bob barker', | ||
value: 'barker', | ||
}, | ||
{ | ||
label: 'billie jean', | ||
value: 'billiejean', | ||
}, | ||
], | ||
}; | ||
}, | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
|
||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'KSelectInKModal', | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
</style> |