Editable Text Input does not allow dynamically changing values
I have a requirement in which I show a grid of credit cards and on click of each card, I have to show 90% of the credit limit of the card that was clicked on.
I am showing this (90% of the credit limit ) in a text input control because the value can be changed by the user. I am facing issues, as the values do not change while I click on different credit cards from the grid.
To my surprise, everything works as expected when I use Formatted Text control or I use Text Input with read-only always.
So, I infer that the problem might be with Text input with Editable or Auto control. Can you please help me with the issue.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
It's hard to tell based on your description, and the lack of runtime screenshots, but if I were to muster a guess based on the data so far, it sounds like your design issue has to do with needing to refresh onchange/onfocus/onblur, etc and display this message. When you do this while in an editable control it will by default post the values to the server and undo any work you did when you tried to set the value.
If my interpretation is on point, then I would try disabling submit on refresh to see if it will address your issue. If not, then please show me the runtime screenshots along with the configured actions and what events are triggering them.
I calculate the 90% in a data transform that is run on refresh of section that carries the credit card image. On click of the credit card image, the same section is refreshed and the data transform is run. Thanks!
Thanks for your PM. I really appreciate your offer for help.
Below are the steps to reproduce:
Each credit card shown below corresponds to a section that is kept in a repeat dynamic layout. On click of any of the below credit card image, this section is refereshed that in turn runs a data transform.
This data transform is responsible for calculating the 90% of credit limit requirement.
This 90% of credit limit is nothing but the red-encircled Customer Requested box
As per the requirement, Customer requested value should vary on click of each different credit card as the credit limit of each card might be different.
This everything works fine if I keep the cell of the customer requested as formatted text control or a text input with read only (always)
Values do not get updated if I make text input as editable or auto
Requirement is to make this customer requested box as editable by the user.
Were you able to solve this issue.Even i m stuck with similar kind of issue. The details what we are updating is not reflecting or getting updated to the clipboard page nor updating the details over the case. Any timely help is much appreciated. Many thanks in advance.