Describe the bug
The URL position counter is behaving badly, when the position not changed it throws out an error, when it does change it recovers normal function, and lets the user save the position. Say the user didnt touch the +/- buttons, and only pressed save because there was only 1 parameter to begin with, then an error shows "the position you saved is invalid, should be between [1,30] but you put -1"
To Reproduce
Steps to reproduce the behavior:
Go to URL y Envios.
Click on "Yes", the button that indicates the template has urlOptions.
click on Save.
See error.
Expected behavior
I want the user to be capable of saving the urlposition, be that the first position if the +/- buttons have not yet been interacted with.
Screenshots
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: 1.0.3
Additional context
Add any other context about the problem here.
Describe the bug The URL position counter is behaving badly, when the position not changed it throws out an error, when it does change it recovers normal function, and lets the user save the position. Say the user didnt touch the +/- buttons, and only pressed save because there was only 1 parameter to begin with, then an error shows "the position you saved is invalid, should be between [1,30] but you put -1"
To Reproduce Steps to reproduce the behavior:
Expected behavior I want the user to be capable of saving the urlposition, be that the first position if the +/- buttons have not yet been interacted with.
Screenshots
![WhatsApp Image 2024-01-17 at 11 32 06 AM](https://github.com/DanielZambSB/Equipo-IA/assets/151205042/16c0d94c-4902-4838-bfb3-c753575619ae)
Desktop (please complete the following information):
Additional context Add any other context about the problem here.