Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 57 forks source link

Having a default value on a field overrides the "Last Value" option #266

Open green3g opened 6 years ago

green3g commented 6 years ago

For instance, if I set a text field default value to "hello" and then have a Last Value action run on that field, the default value always gets populated and that overrides the Last Value array and value set.

green3g commented 6 years ago

Temporary solution: just get rid of the default value - Last Value / AA provides a much more powerful interface so I'm using that instead.

Maybe a warning could be displayed if a default value is overriding the Last Value attribute. This would be helpful because I really didn't know why my value kept getting reset.

MikeMillerGIS commented 6 years ago

I will take a look, but I recall there was not an easy fix as the default value is registering as a field change.

green3g commented 6 years ago

Yep, I figured it might be something like that. Not a huge issue.