Slider Collapse on Outside Click

I’ve added a series of slider panels to Sales Order Entry that pop up when when the Unit Price of an Order Line is out of acceptable range (price == $0 or gross margin < a certain percentage) so the sales user then has to justify the given price.
When they click on OK or Submit, there is a check to make sure all required fields are populated - and this is working fine, even highlighting required fields in red.

The problem is if they click to the side of the slider, in the darkened area outside of the lightbox … the slider closes. No check for required fields, and no event fires (at least not one that’s visible in the console in debug mode)
There is an option on the Slide Out called CollapseOnOutsideClick, which is set to false… but it still collapses on outside click :face_with_spiral_eyes:

Has anyone seen this before? Is there a way to prevent this behavior? Is there any way to see what is executed when no event fires?
We are on 2023.2

1 Like

Sounds like a bug.

1 Like

Might be a pain, but if it’s really important you may have a workaround available.

If there is a bpm that fires when the value is changed, you could use a BPM Data form.

1 Like

I’ll open a ticket :grimacing:

and look into BPM data forms … I’ve only heard of them in passing

1 Like

They aren’t quite as useful in Kinetic as they were in classic, but still valuable.

(In classic you could customize them.)

I ended up setting up an event that triggers onSliderClose
My event then checks if everything is good, then re-opens the slider, if necessary … not ideal, but it works

…and I never opened that CollapseOnOutsideClick ticket, so I’d better get on that