In the BookContentSettings component, we are currently using a custom component where you click a pencil icon, it turns the current setting value into a dropdown, you select the value, it update the state, and the dropdown turns back into text of the new setting value.
It's nifty, but it doesn't work too well. Some weird bugs with it (mostly related to onBlur() not working as expected). We could try to fix those bugs, but instead, let's just use a straightforward Semantic <Form><Form.Group><Form.Select /></Form.Group></Form> for this. It will look good, be easy to understand, and functional.
In the
BookContentSettings
component, we are currently using a custom component where you click a pencil icon, it turns the current setting value into a dropdown, you select the value, it update the state, and the dropdown turns back into text of the new setting value.It's nifty, but it doesn't work too well. Some weird bugs with it (mostly related to
onBlur()
not working as expected). We could try to fix those bugs, but instead, let's just use a straightforward Semantic<Form><Form.Group><Form.Select /></Form.Group></Form>
for this. It will look good, be easy to understand, and functional.