CEC-0000 - Fix flashpack validation
This commit is contained in:
@@ -217,12 +217,19 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal"
|
||||
>
|
||||
<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"
|
||||
for="ecuName"
|
||||
id="ecuName-label"
|
||||
>
|
||||
ECU Name
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||||
>
|
||||
|
||||
*
|
||||
</span>
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl"
|
||||
@@ -233,6 +240,7 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
id="ecuName"
|
||||
maxlength="255"
|
||||
name="ecuName"
|
||||
required=""
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
@@ -245,6 +253,7 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
>
|
||||
<span>
|
||||
ECU Name
|
||||
*
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
@@ -254,12 +263,19 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal"
|
||||
>
|
||||
<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"
|
||||
for="ecuVersion"
|
||||
id="ecuVersion-label"
|
||||
>
|
||||
ECU Version
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="MuiFormLabel-asterisk MuiInputLabel-asterisk"
|
||||
>
|
||||
|
||||
*
|
||||
</span>
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-formControl"
|
||||
@@ -270,6 +286,7 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
id="ecuVersion"
|
||||
maxlength="255"
|
||||
name="ecuVersion"
|
||||
required=""
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
@@ -282,6 +299,7 @@ exports[`FlashpackAdd Render 1`] = `
|
||||
>
|
||||
<span>
|
||||
ECU Version
|
||||
*
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
|
||||
@@ -190,6 +190,7 @@ const MainForm = () => {
|
||||
inputProps={{
|
||||
maxLength: "255",
|
||||
}}
|
||||
required
|
||||
value={item.ecuName}
|
||||
onChange={(event) => handleChange(event, index)}
|
||||
type="text"
|
||||
@@ -203,6 +204,7 @@ const MainForm = () => {
|
||||
inputProps={{
|
||||
maxLength: "255",
|
||||
}}
|
||||
required
|
||||
value={item.ecuVersion}
|
||||
onChange={(event) => handleChange(event, index)}
|
||||
type="text"
|
||||
|
||||
Reference in New Issue
Block a user