Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Revaluate use of `type="number"` in MUI `TextField` component

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start with the referenced frontend/src/components/Loader.tsx location around line 271 and read the linked MUI TextField guidance. Search the codebase for other type="number" uses, then determine whether they should be changed and what replacement behavior is required. The issue does not define a concrete completion condition, so confirm the intended scope before starting.

Written by the indexing model from the issue text.

Description

There are some uses of this in the codebase, such as the following: https://github.com/DiamondLightSource/TomoHub/blob/067cbda673c64316dfdd9d91201b29c8b367215f/frontend/src/components/Loader.tsx#L271

but the React MUI library docs at the time of writing state that use of type="number" is not advisable for "potential usability issues". See their docs page for more info.

Likely not an issue at the moment, but something worth bearing in mind.

Dominant language
TypeScript
Stars
2
Forks
1
Avg merge
15h 17m
Merged PRs (30d)
50

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from DiamondLightSource/ImagingHub

All issues in DiamondLightSource/ImagingHub

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.