Merge branch 'main' into CEC-4072

This commit is contained in:
Paul Adamsen
2024-02-26 09:26:33 -05:00
committed by GitHub
2 changed files with 22 additions and 2 deletions

View File

@@ -217,12 +217,19 @@ exports[`FlashpackAdd Render 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal" class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal"
> >
<label <label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined" class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
data-shrink="false" data-shrink="false"
for="ecuName" for="ecuName"
id="ecuName-label" id="ecuName-label"
> >
ECU Name ECU Name
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
>
*
</span>
</label> </label>
<div <div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl" class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl"
@@ -233,6 +240,7 @@ exports[`FlashpackAdd Render 1`] = `
id="ecuName" id="ecuName"
maxlength="255" maxlength="255"
name="ecuName" name="ecuName"
required=""
type="text" type="text"
value="" value=""
/> />
@@ -245,6 +253,7 @@ exports[`FlashpackAdd Render 1`] = `
> >
<span> <span>
ECU Name ECU Name
 *
</span> </span>
</legend> </legend>
</fieldset> </fieldset>
@@ -254,12 +263,19 @@ exports[`FlashpackAdd Render 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal" class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal"
> >
<label <label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined" class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
data-shrink="false" data-shrink="false"
for="ecuVersion" for="ecuVersion"
id="ecuVersion-label" id="ecuVersion-label"
> >
ECU Version ECU Version
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
>
*
</span>
</label> </label>
<div <div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl" class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl"
@@ -270,6 +286,7 @@ exports[`FlashpackAdd Render 1`] = `
id="ecuVersion" id="ecuVersion"
maxlength="255" maxlength="255"
name="ecuVersion" name="ecuVersion"
required=""
type="text" type="text"
value="" value=""
/> />
@@ -282,6 +299,7 @@ exports[`FlashpackAdd Render 1`] = `
> >
<span> <span>
ECU Version ECU Version
 *
</span> </span>
</legend> </legend>
</fieldset> </fieldset>

View File

@@ -190,6 +190,7 @@ const MainForm = () => {
inputProps={{ inputProps={{
maxLength: "255", maxLength: "255",
}} }}
required
value={item.ecuName} value={item.ecuName}
onChange={(event) => handleChange(event, index)} onChange={(event) => handleChange(event, index)}
type="text" type="text"
@@ -203,6 +204,7 @@ const MainForm = () => {
inputProps={{ inputProps={{
maxLength: "255", maxLength: "255",
}} }}
required
value={item.ecuVersion} value={item.ecuVersion}
onChange={(event) => handleChange(event, index)} onChange={(event) => handleChange(event, index)}
type="text" type="text"