Replies: 43 comments 35 replies
-
Hi Jon, I've just tested my _nfs and am seeing the same issue. I've tried _nf in both field and view and encountered the same issue. It appears random and no errors appear in console. We're using Ktl ver 0.22.14, I also tried it in KTL-Dev, with same results. In our case we're hidding 3 fields from filters, however, it's always just the same 1 field that appears. The issue is intermittent. Amanda |
Beta Was this translation helpful? Give feedback.
-
Hey Amanda, thanks for looking at that for me. Don't take this the wrong way but glad to see others are having this issue also and not an isolated issue with me. :) Hopefully Norm has a fix for it soon... JON |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I think I know what's happening. I apply the kw a bit too early. As a consequence, some entries are populated afterwards. Next time, create an issue please. Norm |
Beta Was this translation helpful? Give feedback.
-
Hi guys, No matter what I try (_nf in field, view or both), I can never reproduce the bug here. Norm |
Beta Was this translation helpful? Give feedback.
-
Hey Norm, I just added the keyword to the debug page I set up for you a couple weeks ago and the keyword _nf works just fine in that page. I tried it in the view mode using the actual field id. Not sure why both me and Amanda are having similar issues in our real live apps. It weird, when you first open the app and got to add filter the field you want to not show in the list are hidden but when you refresh page or change to another page then back, hit add filter, hidden fields are now shown in drop down list. Just a fyi, the debug page I setup for you is part of the same app I'm having issue with just setup up a separate page/table named "debug" Thanks... JON |
Beta Was this translation helpful? Give feedback.
-
I'm not sure I understand, when you say: "I just added the keyword to the debug page I set up for you a couple weeks ago and the keyword _nf works just fine in that page." Are you saying that I won't be able to reproduce the bug there? I'd like to test that page, but will I see the bug? Norm |
Beta Was this translation helpful? Give feedback.
-
No you will not see the bug in the "debug page" I set up for you. If you
remember, the debug page was very simple and only had 4 fields visible on
the table.
I added the keyword _nf to the debug page with the intention of hiding 2 of
the fields (ie _nf=field_1, field_2) and both the fields were successfully
hidden for the filter drop down. If I removed the keyword, all fields on
the table were shown in the drop down of the filter box. If I went and
just hid one, that one was hidden. I tried refreshing the page several
times and could NOT reproduce the issues in my real life app that both me
and Amanda are experiencing.
…On Sat, Feb 3, 2024 at 8:03 AM Cortex R&D Inc. ***@***.***> wrote:
@jbk68 <https://github.com/jbk68>,
I'm not sure I understand, when you say:
"*I just added the keyword to the debug page I set up for you a couple
weeks ago and the keyword _nf works just fine in that page.*"
Are you saying that I won't be able to reproduce the bug there?
I'd like to test that page, but will I see the bug?
Norm
—
Reply to this email directly, view it on GitHub
<#216 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAZFANAGRT2NWLO36MKO6MDYRY7UHAVCNFSM6AAAAABCUZT5KGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGNJVGA2TI>
.
You are receiving this because you were mentioned.Message ID:
<cortexrd/Knack-Toolkit-Library/repo-discussions/216/comments/8355054@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Any chance I can log in your app to see the bug? Norm |
Beta Was this translation helpful? Give feedback.
-
Norm, trying logging into that debug page now using same credentials. Just a fyi, I |
Beta Was this translation helpful? Give feedback.
-
Did someone close this issue?! |
Beta Was this translation helpful? Give feedback.
-
Got it, I'm in now. I see _nf working as expected, hiding fields 2 and 3. I've released a dev version. Can you test it to see if it makes a difference? Norm |
Beta Was this translation helpful? Give feedback.
-
As expected, I can't reproduce the issue in your app. Waiting to see what the dev version does for your buggy app... @amandajane-mo : if you have the chance to test it also, would be great. ND |
Beta Was this translation helpful? Give feedback.
-
dev mode still shows hidden fields in filter. How do I get out of dev mode ? |
Beta Was this translation helpful? Give feedback.
-
I've added a few logs. Let me know what you see compared to mine - but only when the bug occurs. This is the normal expected behavior: I have 4 fields in the _nf keyword. So here's what I see in the console output:
The rest is a sort of parasitic event and not important. Try the dev mode and let me know what is different on your side - when the bug happens. BTW, I've discovered the coolest app for this: ShareX (https://getsharex.com/). It allows editing the capture right-away, add text, arrows, boxes, etc. Norm |
Beta Was this translation helpful? Give feedback.
-
@jbk68 do you have more than 1 grid (of the same object) on the page you see the error? We've started to spot a pattern:
We're still testing this, but does appear to be a pattern, we tried it with a different field and had the same results. Amanda |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ok guy, thanks for your new input. Here's my setup: A page with only two grids. Both have Phone and Email columns. Grid 1 has I can make Grid 1 fail every time by doing this sequence:
When open the Filters for Grid 1, Phone will be there, though it shouldn't. Now, let's see how I can fix this... |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I'v got it cornered... again !!! It was much harder than I thought. Give it a try please, dev mode. Norm |
Beta Was this translation helpful? Give feedback.
-
Hey Norm, I can confirm the keyword _nf is working in dev mode as expected both by selecting the field to hid at field and view levels. Much appreciated... JON |
Beta Was this translation helpful? Give feedback.
-
Can you reload dev and test please Norm |
Beta Was this translation helpful? Give feedback.
-
No it's worse now... |
Beta Was this translation helpful? Give feedback.
-
Ok guys, one more time! I had to rewrite a big chunk of code with a different approach again. Please try dev. Norm |
Beta Was this translation helpful? Give feedback.
-
I am on your page now. Shall we have a Teams meeting? Norm |
Beta Was this translation helpful? Give feedback.
-
Ok, I see the _nf issue. I was looking for the console error, but it's not there anymore. |
Beta Was this translation helpful? Give feedback.
-
Try dev again please? |
Beta Was this translation helpful? Give feedback.
-
I will close this and do a release. Thanks to all for your perseverance and patience! Norm |
Beta Was this translation helpful? Give feedback.
-
Released in v0.22.17. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Lately I've noticed that the keyword "_nf " is not working at all times as expected. I have 4 table columns that have successfully hidden from showing up when a users presses Knack's "add filter" button. But the last couple days, I've noticed that at times, these 4 hidden names will appear in filter drop down list. If a user changes pages and/or hits refresh, occasionally these names will hide as expected but not always. Then there are times if the names are hidden in the filtered list and the user refreshes page or changes pages and returns, the 4 names are present again. ???
Just a fyi, I've tried using both the field name, which is what had been working, and the field id at the view level with same results listed above. I then tried the keyword at the field level, same result.
Any and all help would be appreciated... JON
Beta Was this translation helpful? Give feedback.
All reactions