How to prevent AccordionGroup to run default value

I’ve got an AccordionGroup with a value to open the first accordion.

 <IonAccordionGroup
          multiple={true}
          value="first"

In my second accordion their is an ion-input.

<IonAccordion
            value="third"
...
<IonInput
    label=...
    value={location}
    type="text"
    onIonInput={(e) => setLocation(e.detail.value as string)}

OnIonInput the AccordionGroup is closing the second accordion and opens the first (setting its value to default)

How can I prevent that setting a value is rerunning the accordiongroup? Or is my problem an other one?

const doNothing = async () => {};


 <IonAccordionGroup
      ref={accordionGroup}
      multiple={true}
      onIonChange={doNothing}
      ...

You have to take two AccordionGroups. So the action in the second doesn’t effect the first one.