refactor(site): demui <ProvisionerTagsField /> (#27763)

Replace MUI `TextField` in `ProvisionerTagsField` with the shared
`Input` component.
This commit is contained in:
Jake Howell
2026-08-03 19:09:13 +10:00
committed by GitHub
parent ce20ad8b2f
commit 5e29a878f2
@@ -1,9 +1,9 @@
import TextField from "@mui/material/TextField";
import { PlusIcon } from "lucide-react";
import { type FC, useRef, useState } from "react";
import * as Yup from "yup";
import type { ProvisionerDaemon } from "#/api/typesGenerated";
import { Button } from "#/components/Button/Button";
import { Input } from "#/components/Input/Input";
import { ProvisionerTag } from "#/modules/provisioners/ProvisionerTag";
// Users can't delete these tags
@@ -119,9 +119,8 @@ const NewTagControl: FC<NewTagControlProps> = ({ onAdd }) => {
<label className="sr-only" htmlFor="tag-key-input">
Tag key
</label>
<TextField
inputRef={keyInputRef}
size="small"
<Input
ref={keyInputRef}
id="tag-key-input"
name="key"
placeholder="Key"
@@ -133,8 +132,7 @@ const NewTagControl: FC<NewTagControlProps> = ({ onAdd }) => {
<label className="sr-only" htmlFor="tag-value-input">
Tag value
</label>
<TextField
size="small"
<Input
id="tag-value-input"
name="value"
placeholder="Value"