Here's the lock functionality seen in #1051030: CSS improvements. I think the functionality is pretty self-explanatory.
This patch requires that CSS patch to be applied first.
I need this functionality for a D7 / Drupal Commerce contrib module which would depend on tablefield.
I've just noticed that the text "Leave the first row blank if you do not need a header." is kinda pointless if the header is locked, but that's a minor detail.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | lock.patch | 3.1 KB | bojanz |
| lock.patch | 3.08 KB | bojanz |
Comments
Comment #1
bojanz commentedUpdated patch (the previous one disabled the editing of default values even on field edit, and that's wrong).
This one should be fine.
Comment #2
kevin hankens commentedAwesome, I really like this feature. I'm about to commit it along with a bug fix: #1051568: Default value in field settings isn't rebuildable.
BTW, #1051030: CSS improvements is obviously included in the patch above.
Thanks for this!