pnnl / Quality-Install-Tool

BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Fix NumberInput prefix and suffix #167

Open charliepnnl opened 12 months ago

charliepnnl commented 12 months ago

The NumberInput component has properties prefix and suffix. When present, the component uses an InputGroup (https://getbootstrap.com/docs/5.0/forms/input-group/) to display the text at the front and end of the input box, respectively. Unfortunately, combining the InputGroup with a floating label messes up the styling as seen in the screenshot below. Screen Shot 2023-08-30 at 5 02 20 PM

Most commonly, we will want to use a suffix to display the expected units. The challenge is to fix the styling.