surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
898 stars 373 forks source link

Inputtype number inconsistency #5338

Closed SamMousa closed 6 months ago

SamMousa commented 6 months ago

Are you requesting a feature, reporting a bug or ask a question?

Tiny bug, just visual so lowest priority!

What is the current behavior?

image

What is the expected behavior?

I'd expect the Step to be listed just like the Min and Max parameters.

How would you reproduce the current behavior (if this is a bug)?

See the image. Or:

Specify your

JaneSjs commented 6 months ago

Hi @SamMousa, You can define the nextToProperty attribute for the Step property to display it after the Max setting.

Survey.Serializer.getProperty('text', 'step').nextToProperty = "*max";

View Demo image

SamMousa commented 6 months ago

I know this; I'm saying it's an inconsistency in the creator that you might want to fix on your end...