cortexrd / Knack-Toolkit-Library

Knack Toolkit Library
MIT License
26 stars 6 forks source link

Issue with Quick Toggle over reaching #282

Closed CSWinnall closed 5 months ago

CSWinnall commented 6 months ago

Hi @cortexrd

When I add _qt to a field if, I have more than one Yes/No field in the grid they all become quick toggle. I need to use different colours for some of the fields but they all take on the first fields parameters.

Here is the field Ready to Review in the back end with no keywords: image

Here is the field in the front end with quick toggle being applied: image

Craig

CSWinnall commented 6 months ago

I also can't seem to get quick toggle to work as a view keyword.

CSWinnall commented 6 months ago

Hi Norm

I think I have found the issue which is that the variable fieldHasQt is declared before the loop so when it gets set to true on line 7618 it stays as true for the rest of the loop.

Craig

CSWinnall commented 6 months ago

Sorry me again.

_qt doesn't update _lud & _lub.

Craig