Thinkmill / Thinkmill/keystatic

Bug Report: GitHub Mode Setup Next.js - You provided a `value` prop to a form field without an `onChange` handler.

Open
#1,500 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Description

Following a fresh install of Keystatic using Next.js with the quickstart command npm create @keystatic@latest and setting up GitHub mode using the guide found here results in an error on initial setup.

When visiting /keystatic for the first time after setup and updating keystatic.config for GitHub mode throws the following errors when attempting to input the "Deployed App URL"

  1. Console error: You provided a value prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultValue. Otherwise, set either onChange or readOnly.

  2. Runtime error: URL constructor: h is not a valid URL.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the fresh npm create @keystatic@latest setup, then visit /keystatic after configuring GitHub mode in keystatic.config. Use the GitHub mode guide and the console/runtime errors to trace the Deployed App URL input; done means the field accepts input without either reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.