8000 useForm itemProps doesn't seem to work well with the storeValue prop · Issue #19 · raycast/utils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
useForm itemProps doesn't seem to work well with the storeValue prop #19
Open
@third774

Description

@third774

Maybe I'm overlooking something, but I'm having to explicitly do the following to get storeValue working in combination with the useForm().itemProps. It would be rad if this could be worked into the useForm API so that it's not necessary!

<Form.Checkbox
  label="Copilot"
  storeValue
  {...itemProps.copilot}
  // force this to be an uncontrolled input
  // so the stored value is respected
  value={undefined}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0