added hidden input to submit name when disabled (#2222)
This commit is contained in:
parent
b64fd23559
commit
c73b4d2432
1 changed files with 3 additions and 0 deletions
|
@ -197,6 +197,9 @@ export default function AttributesGroupForm() {
|
|||
name="name"
|
||||
isReadOnly={!!matchingGroup}
|
||||
/>
|
||||
{!!matchingGroup && (
|
||||
<input type="hidden" ref={form.register()} name="name" />
|
||||
)}
|
||||
</FormGroup>
|
||||
<FormGroup
|
||||
label={t("attributes-group:displayHeaderField")}
|
||||
|
|
Loading…
Reference in a new issue