If this filter returns ‘null’ (not empty or ”) then inline edit is not available.
So I believe by using this filter and the correct column checks you could disable inline edit for specific fields by turning thins around:
– Set edit value to null if there is a value
– Set edit value to ” if it is null or false (that is probably already the case)
5 years, 6 months ago
I can now… on-the-fly… determine if a field should be “editable” based on settings in an Option Page for each role, for each field!
The setting choices I have for each role (for each field) are: ‘always editable’, ‘never editable’, and ‘if field has no value’..
… so… to accomplish the 3rd (only if field has no value)… using the ‘acp/editing/value’ filter was perfect!