Skip to content

WIP: Data entry mask#151

Open
JavierCenteno wants to merge 8 commits into
develfrom
i122-data-entry-mask
Open

WIP: Data entry mask#151
JavierCenteno wants to merge 8 commits into
develfrom
i122-data-entry-mask

Conversation

@JavierCenteno
Copy link
Copy Markdown
Contributor

@JavierCenteno JavierCenteno added the enhancement New feature or request label Oct 11, 2021
@JavierCenteno JavierCenteno self-assigned this Oct 11, 2021
Copy link
Copy Markdown
Collaborator

@pjmolina pjmolina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some work to be done. Thanks.

</div>
<input
#input
<div
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿para que hace falta un DIV? ¿para el ngIf? si es solo para eso, no es necerio, pon el if en el input y el text-area
un ng-content tambien hace lo mismo, sin añadir un elemento al DOM innecesario.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

añadir o quitar elementos de DOM a controles ya publicados tiene el efecto colateral de que puede romper selectores css

readonly="true"
/>
</div>
<div
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

@@ -7,6 +7,22 @@ import { Injectable } from '@angular/core';
export class RegexpService {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Suggestion tiene la complejidad suficiente, para justificar que le implementemos test al 100%. Añadelos por favor.
  2. No necesitamos un servicio Angular, en el sentido que nadie va a inyectarlo y reemplazarlo desde el exterior.
    Para simplicarlo, lo reconvertiria en clase (no servicio angular) probablemente con funcionalidad estatica (por ver).

@JavierCenteno JavierCenteno changed the title Data entry mask WIP Data entry mask Oct 21, 2021
@pjmolina pjmolina changed the title WIP Data entry mask WIP: Data entry mask Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants