mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 15:17:26 +08:00
fix: correct text
This commit is contained in:
@ -5,7 +5,7 @@ import { DropDownComponentType } from "../../types/components";
|
||||
import { classNames } from "../../utils";
|
||||
|
||||
export default function Dropdown({value, options, onSelect}:DropDownComponentType) {
|
||||
let [internalValue,setInternalValue] = useState(value??"choose an option")
|
||||
let [internalValue,setInternalValue] = useState(value??"Choose an option")
|
||||
return (
|
||||
<>
|
||||
<Listbox value={internalValue} onChange={(value)=>{
|
||||
|
||||
Reference in New Issue
Block a user