If a field has value of 0, field component becomes blank when model is saved

Defect/Issue Description:
If there is a model linked to a form/table component, and a Number Field is set to 0, then when the model is saved the field value will disappear.

Though, the model will retain the value of 0.

Environment:

  • API Version: v2
  • Release: Chicago
  • Release version: 14.4.10
  • Platform: Salesforce

Action Performed:

  1. Create a model with a number field
  2. Create a form/table component and surface the number field
  3. Set the field component via UI to 0.
  4. Save the model.

Expected Result:
Field component to display 0.

Actual Result:
Field component is blank/empty.

Additional Resources:

<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" theme="AviecoAccuityDesign">
	<models>
		<model id="Response" limit="20" query="true" datasource="Ui-Only" createrowifnonefound="true">
			<fields>
				<field id="F1" displaytype="TEXT" length="255"/>
				<field id="TextArea" displaytype="TEXTAREA" length="255" ogdisplaytype="TEXT"/>
				<field id="NumberResponse" displaytype="DOUBLE" length="255" ogdisplaytype="TEXT" precision="3" scale="0"/>
			</fields>
			<conditions/>
			<actions/>
		</model>
	</models>
	<components>
		<skuid__deck styleSettingsVariant="c99e1304-7ec8-48f8-85fe-1575cb390b54" columnGutter=".75em" rowGutter=".75em" showSaveCancel="false" verticalAlign="top" minWidth="100%" uniqueid="sk-1MgZ-2162" model="Response">
			<components>
				<skuid__form showErrorsInline="true" model="Response" uniqueid="sk-23wX-79398" mode="edit">
					<columns columnGutter="40px">
						<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
							<sections>
								<section title="New Section">
									<fields>
										<columns columnGutter="50px">
											<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
												<sections>
													<section title="New Section" showHeading="false">
														<fields>
															<skuid__field id="F1" uniqueId="sk-23wt-91749"/>
														</fields>
													</section>
												</sections>
											</column>
											<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
												<sections>
													<section title="New Section" showHeading="false">
														<fields>
															<skuid__field id="F1" uniqueId="sk-23wu-92448"/>
														</fields>
													</section>
												</sections>
											</column>
											<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
												<sections>
													<section title="New Section" showHeading="false">
														<fields>
															<skuid__field id="TextArea"/>
														</fields>
													</section>
												</sections>
											</column>
											<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
												<sections>
													<section title="New Section" showHeading="false">
														<fields>
															<skuid__field id="NumberResponse"/>
														</fields>
													</section>
												</sections>
											</column>
											<column behavior="flex" ratio="1" width="200px" verticalAlign="top" minWidth="100px">
												<sections>
													<section title="New Section" showHeading="false">
														<fields>
															<skuid__field type="CUSTOM_BUTTON_GROUP" label="Buttons" uniqueId="sk-2PDT-12735">
																<skuid__buttonGroup uniqueId="sk-2PDT-12812" displayType="detached">
																	<buttons>
																		<skuid__button label="Run actions" uniqueId="sk-2PDT-12813">
																			<actions>
																				<action type="custom" snippet="callHelpModalActionSequence"/>
																			</actions>
																			<tooltip position="top"/>
																			<hotkeys/>
																			<renderConditions logictype="and"/>
																			<enableConditions/>
																			<styleVariantConditions/>
																		</skuid__button>
																		<skuid__button label="Save" uniqueId="sk-2PxL-17244">
																			<actions>
																				<action type="save">
																					<models>
																						<model>Response</model>
																					</models>
																				</action>
																			</actions>
																		</skuid__button>
																	</buttons>
																</skuid__buttonGroup>
															</skuid__field>
														</fields>
													</section>
												</sections>
											</column>
										</columns>
									</fields>
								</section>
							</sections>
						</column>
					</columns>
				</skuid__form>
			</components>
			<filtering enableSearch="false"/>
			<sorting enable="false"/>
		</skuid__deck>
		<skuid__buttonSet uniqueid="sk-2SWG-19636" model="Response">
			<groups>
				<skuid__buttonGroup uniqueId="sk-2SWG-19634" displayType="detached">
					<buttons>
						<skuid__button label="Run actions" uniqueId="sk-2SWG-19635">
							<actions>
								<action type="custom" snippet="consolelog"/>
							</actions>
						</skuid__button>
					</buttons>
				</skuid__buttonGroup>
			</groups>
		</skuid__buttonSet>
	</components>
	<resources>
		<labels/>
		<javascript>
			<jsitem location="inlinesnippet" cachelocation="false" name="callHelpModalActionSequence">const params = arguments[0];</jsitem>
			<jsitem location="inlinesnippet" name="consolelog" cachelocation="false">const params = arguments[0];

console.log('consolelog: ', {params});


</jsitem>
		</javascript>
		<css/>
		<actionsequences>
			<actionsequence id="a4f48d8b-bad9-40e7-b89c-1b59306b19fc" label="New sequence" type="reusable">
				<description/>
				<actions>
					<action type="custom" snippet="consolelog"/>
				</actions>
				<inputs>
					<input type="model" name="TestModel"/>
					<input type="value" name="Test2" model-source="TestModel"/>
					<input type="value" name=""/>
				</inputs>
			</actionsequence>
		</actionsequences>
	</resources>
	<styles>
		<styleitem type="background" bgtype="none"/>
	</styles>
	<background/>
	<interactions/>
</skuid__page>