mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-31 13:29:55 +00:00
Add min-fraction-digits and max-fraction-digits props to InputNumber component to allow typing decimal values. Without these props, users could not manually type values like "0.8" even though the increment buttons worked correctly. This aligns the input-only variant with the slider variant which already had these props configured. fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/7016 ## Screenshots (if applicable) https://github.com/user-attachments/assets/fa205023-13c4-45ac-874b-b241808cf56d ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7033-fix-Add-fraction-digits-props-to-number-input-widget-2b96d73d36508124ac65e466802bbb0c) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>