You need to sign in to do that
Don't have an account?
Tim Chadwick 11
lightning input type="Number" opens edit modal
Hi there, Think i have hit a bug.
When building a lightning component i have a modal for creating a record.
One of the feilds for this is a currency feild so i have used the following
<lightning:input type="number" formatter="currency" aura:id="optionField" label="Cost" value="{!v.simpleNewOption.Cost__c}"/>
Renders fine and works as expected.
EXCEPT, When you enter the character e, it brings up the background records edit page.
Thoughts ?
When building a lightning component i have a modal for creating a record.
One of the feilds for this is a currency feild so i have used the following
<lightning:input type="number" formatter="currency" aura:id="optionField" label="Cost" value="{!v.simpleNewOption.Cost__c}"/>
Renders fine and works as expected.
EXCEPT, When you enter the character e, it brings up the background records edit page.
Thoughts ?
But i agree with you it's not expected behaviour with lightning:input field.
checkout following post for keybord shortcuts:
http://http://sfdcmonkey.com/2017/05/22/keyboard-shortcuts-lightning-experience/
Thanks let us know if it helps you