The issue was addressed. It was simply a display issue in ArcGIS Online, where the field's default value was not being displayed.
I am able to reproduce your problem, but it appears to be a separate issue. I believe when the FGDB gets published, the default value gets ignored during publishing. I'll write up an issue on this. You can check your hosted feature layer to see if the default value is null.
- From the overview tab of the layer, click to the View link in the URL section on the bottom right of the item details page.
- On the service directory page, click the layer name.
- Click the JSON link at the top of the page (very small link)
- Find your field, I suspect the default value will be null.
name: "Amount",
type: "esriFieldTypeInteger",
alias: "",
sqlType: "sqlTypeOther",
nullable: true,
editable: true,
domain: null,
defaultValue: null
If your goal is to provide a default value for the field when people edit it, a better approach is to set the default value on the feature template as described here https://doc.arcgis.com/en/arcgis-online/manage-data/manage-feature-templates.htm#ESRI_SECTION1_AF343...
Feature templates control a field's default value during editing via templates, which is the way features get added to the map.
hope this helps,
Mike