44
Views
3
Comments
Solved
[iMask Js] On screen loading, fetched data is not rendered in the masked inputs
imask-js
Reactive icon
Forge asset by Paulo Moreira
Application Type
Reactive

Hi,

I noticed that when you:

  • navigate to a screen where the masked inputs are 
  • and the values bound to the masked inputs come from a data source (eg. aggregate), 

=> the values are not rendered. But if I refresh the screen, those values are rendered. I might speculate that this happens since the data from the data source arrives after the screen is rendered.

(I tested this pattern in two different OS infrastructures to remove any infrastructure specificity, and had the same output).

I don't know if this is an intended value, but it's strange behavior. As a quick fix to allow me to use the component, I need to enclose the masked inputs inside an If widget and wait for the data source to return the data (using the 'IsDataFetched' runtime var).


Cheers.


2024-06-13 07-53-34
Paulo Moreira
 
MVP
Solution

Hi António,

The issue you identified has been fixed. Can you please update your component to version 1.0.1, that was published on the Forge a couple of minutes ago?

Let me know how it went.

In the meantime, the Demo of the component was updated and your contribution was posted on the Team Nexllence and Contributors page :-)

Best regards,

Paulo Moreira

2024-06-13 07-53-34
Paulo Moreira
 
MVP

Hi António,

Thank you very much for your feedback. Will look into it and let you know on our findings.

Best regards,

Paulo Moreira

2024-06-13 07-53-34
Paulo Moreira
 
MVP
Solution

Hi António,

The issue you identified has been fixed. Can you please update your component to version 1.0.1, that was published on the Forge a couple of minutes ago?

Let me know how it went.

In the meantime, the Demo of the component was updated and your contribution was posted on the Team Nexllence and Contributors page :-)

Best regards,

Paulo Moreira

2021-02-18 12-29-06
António Pereira
Champion

Hi Paulo,

After updating the component, I run my test and the behavior was fixed:

Thanks for the quick response!

Cheers,

António Pereira

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.