Topic: Add Pipe in select Options

exist-ui pro asked 5 years ago

 placeholder="Select Amount"
 class="colorful-select dropdown-primary"

for example i'd like to add a currency pipe di display an option that corresponds with amount that has a currency on it.

Witold Tkaczyk free answered 5 years ago

Hi exit-ui,   I'm not sure if I understand you right. You cant inject pipe in a template but you can do something like this:
amountOptions  = [{

    value: (already modyfied amount);
    ...: '...'

let me know if that is solution you looking for.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No