lyrgard / ffbeEquip

Online tool to filtre through FFBE Equipments
ISC License
83 stars 59 forks source link

Stat buff placeholder #551

Closed sailorsben closed 2 years ago

sailorsben commented 2 years ago

The code removed automatically populated values with no value to 0, which was leading to users insert values greater than intended.

ie.

with a populated 0, adding 300 would result in 3000.

By removing the prepopulation, placeholder 0s still show, but allow users to have the desired functionality to type in a full value.

Note: If you remove a value entirely from an input field and then click outside of it, the field will default to placeholder.

sailorsben commented 2 years ago

This breaks tabbed buffs. Closing for now.