1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Increase performance on Angular2 inputfield

Discussão em 'Angular' iniciado por Daskus, Maio 26, 2025.

  1. Daskus

    Daskus Guest

    I have a list of components that contain dates (formatted with toLocaleString()) and other things. On top of them there is a component for creating new components, which contains a form with some inputfields built with Angular's FormBuilder. When I type fast the validation lags and the text I'm typing isn't displayed immediately.

    I assume that Angular is rerendering all components, because if I don't display the date in the other components I can type pretty fast without lags.

    Is there a way to only rerender the input field I'm typing in, since all other components cannot change or is toLocaleString() the problem?

    Continue reading...

Compartilhe esta Página