prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Deployments with precise float default values cannot be edited

Open j-tr opened this issue 1 month ago • 1 comments

Bug summary

When deploying a flow with default float values with a higher precision than 0.01, the deployment cannot be edited at all via the Prefect Cloud UI.

Image

This is because the step size for the number input field has a step size of 0.01, and while default values with high precision can be set when deploying the flow, the edit form doesn't accept these same values.

This means that even when editing a completely unrelated field, the default of that one float field will prevent the user from saving the form.

When editing the step size in the browser console, the form can be saved, highlighting that this is only a UI problem.

Version info

Prefect Cloud

Additional context

No response

j-tr avatar Nov 11 '25 16:11 j-tr

Hi! @j-tr fixed it, please let me know!

naaa760 avatar Nov 26 '25 00:11 naaa760

@naaa760 is this already rolled out to prefect cloud? just tried to edit a deployment and i'm still running into the same error.

j-tr avatar Dec 11 '25 11:12 j-tr