OlgaOrtiz / Nekos-Magic-Converter

https://nekos-magic-converter.vercel.app
0 stars 0 forks source link

Disable the convert button when the input field is empty #44

Open Yifei-G opened 10 months ago

Yifei-G commented 10 months ago

What do we need?

Currently, user can click the convert button with the input unit field empty. Therefore, we will se NaN displayed as a result. This behavior affects the user experience of the product. We would like to add a small logic that by default disable the Convert button is the input field is empty.

Acceptance Criterial

Yifei-G commented 10 months ago

https://github.com/OlgaOrtiz/Nekos-Magic-Converter/assets/53911347/cc96034d-84c3-42db-abb4-a2bb86d7b834