GithubHelp home page GithubHelp logo

Comments (7)

RobertThwaite avatar RobertThwaite commented on May 31, 2024

May not be a nice way of doing it but you could refresh the component with a ngIf

from ngx-filter-pipe.

SvenBudak avatar SvenBudak commented on May 31, 2024

Hmm yeah sounds ugly ^^ i am verry new in programming, so i don't know the correct way. But is it not better with observable? Is there any example for this maybe?

from ngx-filter-pipe.

RobertThwaite avatar RobertThwaite commented on May 31, 2024

if you set up a codepen or alternative I can take a quick look

from ngx-filter-pipe.

VadimDez avatar VadimDez commented on May 31, 2024

@BamiGorengo ngx-filter-pipe doesn't have any "cache". You have to check whether your array (the one that is then piped) is actually updated. Pipe is applied on every change, so if angular checks your array was changed then ngx-filter-pipe is applied.

from ngx-filter-pipe.

SvenBudak avatar SvenBudak commented on May 31, 2024

I upload the project: https://som-tools.upperyard.de

.htpasswd
Username: Demo
Password: NsExR3PrhZ4J

I can create a stackbliz but would be nicer when i just can give access to my git repository.

from ngx-filter-pipe.

RobertThwaite avatar RobertThwaite commented on May 31, 2024

Hi Bami,

Ngx translate is not changing the variable, simply printing it translated. Filter-pipe is working correctly here.

For example when on the "development" tab I searched "Strength", then changed the language to "Spanish". Although the text has changed on the UI the variable "abilitie.name" is still "Strength".

You will need to use NGX translate to actually change the Variables.

from ngx-filter-pipe.

SvenBudak avatar SvenBudak commented on May 31, 2024

i am not sure that i understand... but... so i dont need to work with observables here?

from ngx-filter-pipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.