QMBForm icon indicating copy to clipboard operation
QMBForm copied to clipboard

Date Dialog and Picker row values not being updated

Open brettalcox opened this issue 8 years ago • 3 comments

As the title says, the Date Dialog and Picker Row values do not update after the value is changed. When i use the sample fragment included, it works fine...but when i cut out just the rows I need, it stops working. Whenever the onValueChanged method gets called, I can print the old and new value, and it is updating the values correctly, just not on the screen. I'm using the emulator if that makes any difference.

brettalcox avatar Apr 01 '16 16:04 brettalcox

even the sample , Date Inline could not be clicked, and Date Dialog not change when selected date from dialog

realcarlos avatar Apr 02 '16 01:04 realcarlos

I have the same problem. It works in the custom fragment provided but not in the annotated one. But in my code I cannot make it work whatever I do.

Poncholay avatar Jan 16 '17 10:01 Poncholay

I have done a workaround to fix this problem.

Just update the form on value change:

@Override public void onValueChanged(RowDescriptor rowDescriptor, Value> oldValue, Value> newValue) { row.setValue(newValue); mFormManager.updateRows(); }

appmonkey8010 avatar Jul 05 '17 08:07 appmonkey8010