WIP: Poc for date picker
This commit is contained in:
parent
a0967a143f
commit
31eb063cf6
|
@ -0,0 +1,10 @@
|
|||
<script>
|
||||
import { Menu } from "../Menu"
|
||||
import { Textfield } from "../Textfield"
|
||||
|
||||
let open = false
|
||||
debugger
|
||||
</script>
|
||||
|
||||
<Textfield label="Select Date" />
|
||||
<Menu {open} />
|
|
@ -0,0 +1 @@
|
|||
export { default as DatePicker } from "./DatePicker.svelte"
|
|
@ -39,6 +39,7 @@
|
|||
})
|
||||
|
||||
$: menuList && _bb.attachChildren(menuList)
|
||||
debugger
|
||||
</script>
|
||||
|
||||
{#if useFixedPosition || useAbsolutePosition}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
Icon,
|
||||
List,
|
||||
Select,
|
||||
DatePicker,
|
||||
} = props
|
||||
|
||||
let currentComponent
|
||||
|
@ -28,6 +29,7 @@
|
|||
props: {
|
||||
_component: "testcomponents/rootComponent",
|
||||
_children: [
|
||||
DatePicker,
|
||||
Button,
|
||||
BodyBoundToStore,
|
||||
Textfield,
|
||||
|
|
|
@ -205,5 +205,9 @@ export const props = {
|
|||
value: "2",
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
DatePicker: {
|
||||
_component: "@budibase/materialdesign-components/ListItem",
|
||||
_children: [],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -19,3 +19,4 @@ export { default as recordForm } from "./Templates/recordForm"
|
|||
export { List, ListItem } from "./List"
|
||||
export { Menu } from "./Menu"
|
||||
export { Select } from "./Select"
|
||||
export { DatePicker } from "./DatePicker"
|
||||
|
|
Loading…
Reference in New Issue