Thinkmill / Thinkmill/keystatic

`fields.number()` is missing the "required" star

Open
#1,281 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

My config says
position: fields.number({ label: 'Reihenfolge', validation: { isRequired: true } }),

And the source code shows the input as required.

However, the red required-Star is not present in the UI.

image

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

Reproduce the issue with the shown fields.number configuration and inspect the field-rendering entry point responsible for displaying validation state. Trace how isRequired reaches the UI, then verify that the red required star appears for number fields without changing the existing required input behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.