Cannot bind a property to the value of an LrView:picture
Per this discussion, I wonder of there is a bug binding specific properties to viewFactory:picture()
I can't seem to bind the value, even with a hacky transform that logs and returns a string. This snippet is from a sectionsForTopOfDialog() callback, with the keys we want in that property table passed in.
f:picture {
value = bind {
key = 'pic',
transform = function ( value, fromModel )
local res = _PLUGIN:resourceId( value )
tracef(" Will return: %s", res)
return res
end,
},
tooltip = bind 'picTT',
},
The tooltip works (so far) but I can't get resource to show up. I tried a variety of ways of getting the string into the value. It seems like you can't bind properties to this value.