diff --git a/src/components/PageComponents/Config/User.tsx b/src/components/PageComponents/Config/User.tsx index c41ced08..99de1f2a 100644 --- a/src/components/PageComponents/Config/User.tsx +++ b/src/components/PageComponents/Config/User.tsx @@ -12,6 +12,7 @@ import { UserValidation } from "@app/validation/config/user.js"; import { Form } from "@components/form/Form"; import { useDevice } from "@core/providers/useDevice.js"; import { renderOptions } from "@core/utils/selectEnumOptions.js"; +import { ErrorMessage } from "@hookform/error-message"; import { classValidatorResolver } from "@hookform/resolvers/class-validator"; import { Protobuf } from "@meshtastic/meshtasticjs"; @@ -70,13 +71,9 @@ export const User = (): JSX.Element => { dirty={isDirty} onSubmit={onSubmit} > - + + + { maxLength={4} {...register("shortName")} /> + ( + + )} + /> { ?.join(":") ?? "" } /> + - ( - - )} - /> ); };