+ Start a Discussion
Alexander TsitsuraAlexander Tsitsura 

lightning:inputField loose the incorrect value

Hi Community,

I have a strange issue while using the lightning:recordEditForm and the lightning:inputField components. When I put, for example, "1................" to the number field, it's cleared after losing the focus. It can be painful for a user which by error put for example, second "."

Here I captured the demo:

Here is the code that I used:
<lightning:recordEditForm recordId="0061U000009UEze" objectApiName="Opportunity">
	<lightning:inputField fieldName="Amount" aura:id="field" />
	<div class="slds-m-top_medium">
		<lightning:button type="submit" label="Save" />

Does anybody know how to fix that to keep the incorrect value?  I want to give a chance to the user to fix an incorrect value.