Skip to content
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

DRAFT - WIP: kselect in kmodal, get fresh keenUI edition #430

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions docs/pages/kselectinkmodal.vue
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>
5 changes: 5 additions & 0 deletions docs/tableOfContents.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ export default [
isCode: true,
keywords: ['field', 'box'],
}),
new Page({
path: '/kselectinkmodal',
title: 'KSelectInKModal',
isCode: true,
}),
new Page({
path: '/kswitch',
title: 'KSwitch',
Expand Down
Loading