Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusControl IsRange is not set? #343

Open
alexbk66 opened this issue Feb 22, 2023 · 4 comments
Open

StatusControl IsRange is not set? #343

alexbk66 opened this issue Feb 22, 2023 · 4 comments
Labels
To Do This issue is in need of attention

Comments

@alexbk66
Copy link

alexbk66 commented Feb 22, 2023

PluginSDK 1.4.3.0

When I create StatusControl with ValueRange, the StatusControl.IsRange is not set to 'true'. I have to set it explicitly.

image

It must be broken at some point - because initially StatusControl.IsRange used to be set to 'true' automatically.

image

image

Another issue with the range (probably should be a separate ticket) - in the event action configuration the values for the range (0 -1023) have increment of 4. How can I select value '1' for example?

image

@alexbk66 alexbk66 added the To Do This issue is in need of attention label Feb 22, 2023
@spudwebb
Copy link
Collaborator

What EControlType is this StatusControl?
IsRange is set to true automatically only if the StatusControl type is EControlType.ValueRangeDropDown or EControlType.ValueRangeSlider
I don't think this has changed recently.

@alexbk66
Copy link
Author

alexbk66 commented Mar 1, 2023

I'm using EControlType.TextBoxNumber so the user can enter exact value. ValueRangeSlider is not precise for this, ValueRangeDropDown can be too awkward to use if the range is big.

I think the behaviour should not depend on the UI control chosen, especially if user can change the type. This is just wrong.

@alexbk66
Copy link
Author

Another issue with the range (probably should be a separate ticket) - in the event action configuration the values for the range (0 -1023) have increment of 4. How can I select value '1' for example?

@alexbk66
Copy link
Author

Anybody?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
To Do This issue is in need of attention
Projects
None yet
Development

No branches or pull requests

2 participants