Animation Jump does not stop playing after pressed once

Here is my code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;

public class PlayerMovement : MonoBehaviour
{
    [SerializeField] float runSpeed = 10f;
    [SerializeField] float slideSpeed = 5f;
    [SerializeField] float jumpSpeed = 5f;   
    Vector2 movement;
    Rigidbody2D rb;
    Animator myAnimator;
    BoxCollider2D myBoxCollider;

    void Start()
    {
        rb = GetComponent<Rigidbody2D>();
        myAnimator = GetComponent<Animator>();
        myBoxCollider = GetComponent<BoxCollider2D>();
    }

    void Update()
    {
        Run();
        FlipSprite();            
    }


    void FlipSprite()
    {
        bool playerHasHorizontalSpeed = Mathf.Abs(rb.velocity.x) > Mathf.Epsilon;

        if (playerHasHorizontalSpeed)
        {
            transform.localScale = new Vector2(Mathf.Sign(rb.velocity.x), 1f);
        }

    }
    void OnJump(InputValue value)
    {       
        bool isTouchingGround = myBoxCollider.IsTouchingLayers(LayerMask.GetMask("Ground"));

        if (!isTouchingGround)
        {          
            return;           
        }

        if (value.isPressed)
        {
            rb.velocity += new Vector2(0f, jumpSpeed);   
            myAnimator.SetBool("isJumping", true);                    
        }       
    }

    void Run()
    {
        Vector2 playerVelocity = new Vector2 (movement.x * runSpeed, rb.velocity.y);
        rb.velocity = playerVelocity;

        bool playerHasHorizontalSpeed = Mathf.Abs(rb.velocity.x) > Mathf.Epsilon;       


        myAnimator.SetBool("isRunning", playerHasHorizontalSpeed);

    }

    void OnSlide(InputValue value)
    {
        if (value.isPressed)
        {  
            rb.velocity += new Vector2(slideSpeed, 0f);
            myAnimator.SetBool("isSliding", true);
        }                
    }

    void OnMove(InputValue value)
    {
        movement = value.Get<Vector2>();       
    }  
}

the result for that is this:8480978--1127558--jumpresult.PNG

the animation then stays in this loop and doesn't change back to idle when I clearing have "isJumping" set to false

What are you settings for the transition back to idle? Does it have an exit time? Are there any conditions that aren't being met? IF you have an exit time, AND the transition from ldle to jump takes you past this point AND the jump animation doesn't loop, then I could see the animation getting stuck. You could try adding a interrupt to the transition going from idle to jump to see if that fixes the issue.

8493662--1130219--interrupt.PNG

You might want to have a looping "In Air" animation that the jump animation transitions to by the end of the jump action. The air node then transitions back to idle when IsJumping is false. I actually have things like "jump" as a trigger, and another param like IsInAir, but no need to complicate things if the game doesn't need it.