Setting numeric attribute value to null

754
0
09-09-2013 08:36 PM
JesseAdams
New Contributor III
I'm working on an editing application where I need to allow the user to set a numeric attribute field to null through an attribute inspector.  So far setting multiple text fields to "" works without any issues however when I try to set the field value to null using the following code it doesn't stick.

featureIn.attributes[fieldName] = null;


Currently I have this code in the "onAttributeChange" event.  This works with any number but not "null".  Any suggestions?  Thank you!
0 Kudos
0 Replies