I'm aware that it's still beta, but I didn't expect them to break it for older api versions :/
<aura:application extends="force:slds">
<aura:attribute name="myNumber" type="Decimal" default="1" />
<lightning:input type="number" label="Number" value="{!v.myNumber}"/>
<ui:inputNumber value="{!v.myNumber}" />
</aura:application>
This simple my.app works in spring'18 orgs, but doesn't in summer'18, using the newest Firefox 60.0.1 (Mac & PC). No matter if you switch to api version 41, 42 or 43.
The number is not changeable in the lightning:input
field.
The behavior is super super weird! If you start inspecting it with the Firefox inspector, it starts working. If you right click it, it might also work, when the value is empty.
It seems to be related to the fact, that something in the background switches the type of the input field to number, but it gets switched back to text. As soon as you can make it stick to number, it works as expected:
<input ... type="text">
to
<input ... type="number">
Is anyone out there aware of a way to quick-fix this?
Update:
After submitting a case, they created an issue for this, feel free to mark yourself as affected: