i have a problem with the tag <lightning:input type="number">
. I want to insert max 3 integer and 3 decimal (999,999 or 1,0), i try to use this:
<lightning:input type="number" step="any" pattern="[0-9]{3},[0-9]{3}" min="0" aura:id="numberId" required="true" maxlength="6" label="numberLabel" name="numberName" />
but when i insert 1234,5678 the field show me 1.234,567 but if i click again on inputField the value is 1234,5678 (the lose onBlur cut the four decimal number, but when i click on field i see this (what value it will save? 1.234,567 or 1.234,5678?)). How i can insert max only 3 integer and 3 decimal without problem when i save? ps: maxlength doesn't work :/
Thanks in advance :)