Open ibolton336 opened 1 year ago
How to start working on this issue?
Hi @kirtanchandak - To start, have a look for any Text input components with a missing ID. I have found one here:
<TextInput
value={
!migrationWave?.name
? `${dayjs(migrationWave.startDate).format(
"MM/DD/YYYY"
)} - ${dayjs(migrationWave.endDate).format("MM/DD/YYYY")}`
: migrationWave.name
}
type="text"
aria-label="wave-name"
isDisabled={true}
/>
in client/src/app/pages/migration-waves/components/manage-applications-form.tsx
Thanks!
Hey I am using this approach, is the correct?
<HookFormPFTextInput
defaultValue={
!migrationWave?.name
? `${dayjs(migrationWave.startDate).format(
"MM/DD/YYYY"
)} - ${dayjs(migrationWave.endDate).format("MM/DD/YYYY")}`
: migrationWave.name
}
name="name"
label="Name"
type="text"
fieldId="wave-name"
isDisabled={true}
/>
@kirtanchandak That is the right idea! However, in this case I think that textInput is just for display purposes so it may not necessitate our React-hook-form text input wrapper component here.
@kirtanchandak I think for this one, just adding an ID here would be sufficient. Let me know if that makes sense or if you see any other issues I can help you get started with!
curious if this is being worked on
My take is if it is unassigned, it is fair game @gitdallas
This issue has been marked 'good first issue' Please, make sure it aligns with the criteria found here
Related to #443