lightning-input for number should show a step indicator to increase/decrease the number. This is not showing, but the HTML input element shows that.
Lightning-input
<lightning-input type="number" data-id={product.ProductId} value="1" label="" min="1" max="99" step="1"></lightning-input>HTML Input
<input type="number" data-id={product.ProductId} value="1" min="1" max="99"></input>Is something wrong with my code? or issue with the lightning-input element?
5 respuestas
Hi @Dhanik Sahni,
Yes it applies to the LWC input field.
Refer this:-
https://help.salesforce.com/s/articleView?id=release-notes.rn_lwc_components.htm&release=224&type=5
Kindly mark this as best answer if all the information is helpful,
Thanks!!!