Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DynamicForm.rememberValues not called

    SmartClient Version: SNAPSHOT_v11.1d_2016-12-21/Enterprise Development Only (built 2016-12-21)

    Chrome on OSX

    Hello, are the methods DynamicForm.setValues/editRecord/editNewRecord supposed to call form.rememberValues ?

    It seems that it isn't called, so a call to form.resetValues han no effect.

    Please try the #pendingValues sample, if you execute favoritesForm.setValues({}) and then favoritesForm.resetValues(), the form remains empty.

    #2
    You setValues() to an empty record, so when you reset, you should expect an empty form. Are we missing something?

    Comment


      #3
      yes, of course you're right, sorry.
      Actually I was trying to make an 'undo' functionality which works when the user selects an entire set of values (an entry from an 'address book'), but it needs a custom implementation not based on rememberValues.

      Anyway, sorry for the bogus report.

      Comment

      Working...
      X