wvulibraries / mfcs

Archival and Preservation Digital Asset Management System.
Other
8 stars 4 forks source link

form creator: Value not clearing on preview #103

Closed MichaelRBond closed 8 years ago

MichaelRBond commented 8 years ago
  1. Type in a value for a form field
  2. type in a place hold
  3. remove the value

The value remains in the preview. Should be deleted.

ddavisgraphics commented 8 years ago

This was a bug in trying to hook it all up by using the attr along with a json object. Other values will delete such as placeholder, styles, etc, but the value itself will not. Had to switch to using .val() by itself.