Open Schokokex opened 4 years ago
<TextEntry onfocus="onfocus('SWAP_PROC_LIMIT')"
oninputsubmit="onPanelChange('SWAP_PROC_LIMIT')"
onblur="onPanelChange('SWAP_PROC_LIMIT')"
id="SWAP_PROC_LIMIT"
class="SettingsItem"
maxchars="3"
unit="%"
precision="2"/>
@Schokokeks in panorama it seems we can add any xml attribute, like this
<TextEntry onfocus="onfocus('SWAP_PROC_LIMIT')" oninputsubmit="onPanelChange('SWAP_PROC_LIMIT')" onblur="onPanelChange('SWAP_PROC_LIMIT')" id="SWAP_PROC_LIMIT" class="SettingsItem" maxchars="3" unit="%" precision="2"/>
notice "precision" tag i added. With this i can add in Js IsFixed() call to show it properly