I'm trying to disable a button when the value of a field, in a selectedRow, in a table is empty - but, it seems to still be disabled, even when the field is not empty.
I guess this is likely just something wrong with my code, but any help you can provide is appreciated:
When you hover over the value of
tbl_matrix_records.selectedRow.data.matrix_image_url.value - what is the value?
Maybe try the following: {{tbl_matrix_records.selectedRow.data.matrix_image_url.value === "" || {tbl_matrix_records.selectedRow.data.matrix_image_url.value === null || {tbl_matrix_records.selectedRow.data.matrix_image_url.value === undefined}}
Yes, I already spotted that - but it didn't make a difference.
It's not urgent, I'm sure I'll figure it out along the way.
Thanks again for your help,
Neil
Just chiming in to say you could also try using Lodash _.isEmpty();, especially if you wanted to try and capture multiple possibilities like "", undefined, and null.
So - I thought i was testing that, but then realised I had populated also with a url..... I have now deleted that.
This is the message I get. Which I do not fully understand. Although, it seems to be that it is not able to process the 'null' value (as it is not a value? (shows as null in the code inspector window (sorry, don't know the name)