This repository was archived by the owner on Aug 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +117
-108
lines changed
Expand file tree Collapse file tree 13 files changed +117
-108
lines changed Original file line number Diff line number Diff line change 99 },
1010 "dependencies" : {
1111 "@headlessui-float/react" : " *" ,
12- "@headlessui/react" : " ^1.7.0 " ,
12+ "@headlessui/react" : " ^1.7.4 " ,
1313 "react" : " ^18.0.0" ,
1414 "react-dom" : " ^18.0.0" ,
1515 "tailwindcss" : " ^3.0.23"
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default function ExampleCombobox() {
4545 < div className = "relative w-full text-left bg-white border border-gray-200 rounded-lg shadow-md cursor-default focus:outline-none sm:text-sm overflow-hidden" >
4646 < Combobox . Input
4747 className = "w-full border-none py-2 pl-3 pr-10 text-sm leading-5 text-gray-900 focus:outline-none focus:ring-0"
48- displayValue = { ( person : any ) => person . name }
48+ displayValue = { ( person : any ) => person ? .name }
4949 onChange = { event => setQuery ( event . target . value ) }
5050 />
5151
Original file line number Diff line number Diff line change 99 },
1010 "dependencies" : {
1111 "@headlessui-float/react" : " *" ,
12- "@headlessui/react" : " ^1.7.0 " ,
12+ "@headlessui/react" : " ^1.7.4 " ,
1313 "react" : " ^18.0.0" ,
1414 "react-dom" : " ^18.0.0" ,
1515 "tailwindcss" : " ^3.0.23"
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default function ExampleCombobox() {
4545 < div className = "relative w-full text-left bg-white border border-gray-200 rounded-lg shadow-md cursor-default focus:outline-none sm:text-sm overflow-hidden" >
4646 < Combobox . Input
4747 className = "w-full border-none py-2 pl-3 pr-10 text-sm leading-5 text-gray-900 focus:outline-none focus:ring-0"
48- displayValue = { person => person . name }
48+ displayValue = { person => person ? .name }
4949 onChange = { event => setQuery ( event . target . value ) }
5050 />
5151
Original file line number Diff line number Diff line change 99 },
1010 "dependencies" : {
1111 "@headlessui-float/vue" : " *" ,
12- "@headlessui/vue" : " ^1.7.0 " ,
12+ "@headlessui/vue" : " ^1.7.4 " ,
1313 "tailwindcss" : " ^3.0.23" ,
14- "vue" : " 3.2.33 "
14+ "vue" : " 3.2.45 "
1515 },
1616 "devDependencies" : {
1717 "@iconify-json/heroicons-outline" : " ^1.1.1" ,
Original file line number Diff line number Diff line change 1515 <div class =" relative w-full text-left bg-white border border-gray-200 rounded-lg shadow-md cursor-default focus:outline-none sm:text-sm overflow-hidden" >
1616 <ComboboxInput
1717 class =" w-full border-none py-2 pl-3 pr-10 text-sm leading-5 text-gray-900 focus:outline-none focus:ring-0"
18- :display-value =" (person: any) => person.name"
18+ :display-value =" (person: any) => person? .name"
1919 @change =" query = $event.target.value"
2020 />
2121
Original file line number Diff line number Diff line change 99 },
1010 "dependencies" : {
1111 "@headlessui-float/vue" : " *" ,
12- "@headlessui/vue" : " ^1.7.0 " ,
12+ "@headlessui/vue" : " ^1.7.4 " ,
1313 "tailwindcss" : " ^3.0.23" ,
14- "vue" : " 3.2.33 "
14+ "vue" : " 3.2.45 "
1515 },
1616 "devDependencies" : {
1717 "@iconify-json/heroicons-outline" : " ^1.1.1" ,
Original file line number Diff line number Diff line change 1515 <div class =" relative w-full text-left bg-white border border-gray-200 rounded-lg shadow-md cursor-default focus:outline-none sm:text-sm overflow-hidden" >
1616 <ComboboxInput
1717 class =" w-full border-none py-2 pl-3 pr-10 text-sm leading-5 text-gray-900 focus:outline-none focus:ring-0"
18- :display-value =" person => person.name"
18+ :display-value =" person => person? .name"
1919 @change =" query = $event.target.value"
2020 />
2121
Original file line number Diff line number Diff line change 5050 "@floating-ui/react-dom" : " ^1.0.0"
5151 },
5252 "devDependencies" : {
53- "@headlessui/react" : " ^1.7.0 " ,
53+ "@headlessui/react" : " ^1.7.4 " ,
5454 "@types/lodash.throttle" : " ^4.1.6" ,
5555 "@types/node" : " ^17.0.21" ,
5656 "@types/react" : " ^18.0.0" ,
Original file line number Diff line number Diff line change 5454 "typescript" : " ~4.7.0" ,
5555 "unplugin-vue-components" : " ^0.22.0" ,
5656 "vite" : " ^3.0.0" ,
57- "vue" : " ^ 3.2.31 " ,
57+ "vue" : " 3.2.45 " ,
5858 "vue-tsc" : " ^1.0.0"
5959 }
6060}
You can’t perform that action at this time.
0 commit comments