Client side formatters issue

@Teodor ,

The client side formatters I prepared for wappler 5.0.4 and nodejs client side formatters do not work. The error messages returned and sample error messages are as follows .

Example formatter 1:
This is an example previously prepared by @patrick and shared at the link below.

dmx.Formatters('string', {
  encodeBase64: function(val) {
    return btoa(val);
  },
  decodeBase64: function(val) {
    return atob(val);
  }
});

Usage :

{{address.encodeBase64()}}

Console log :

dmxAppConnect.js:7 Formatter encodeBase64 in expression [address.encodeBase64()] doesn't exist for type string

The reason I am sharing this example is to show that there is no faulty code.

Community Page
Last updated: