Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallo de validación en el input del "Short link" (modal de edición) #25

Open
JaimeGarcia94 opened this issue Apr 10, 2024 · 1 comment

Comments

@JaimeGarcia94
Copy link

Me he percatado que si eliminas la clase disabled del input "Short Link", en el modal de edición, te deja guardar el valor en base de datos y no te arroja ningún error de validación por parte del backend.

Me he creado un nuevo link llamado: "/qqqqqqq"

slug1

Si me dirijo al modal de edición y elimino la clase "disabled" me habilita el input para poder modificar el texto

slug2

Entiendo que el input será reactivo por lo tanto si guardas se modifica en el panel de links, pero no en el del modal de edición:

slug3

Pero si refrescas la página y vuelves a abrir el modal de edición si que cambia la url:

slug4

Espero que haya servido de ayuda.

Un saludo

@achrafrzz1
Copy link

Screenshot 2024-04-11 at 7 28 26 AM
Hey , This process is very normal. When you try to change it by entering a new short name in the place of the document and you save, the link will work on the new short name. And from that, when you challenge the page, and you are surprised to update the link, you will find that the old name has been removed and the new short name has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants