Active
Project:
Field Readonly
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2016 at 10:56 UTC
Updated:
13 Feb 2018 at 14:04 UTC
Jump to comment: Most recent
Comments
Comment #2
anrikun commented@matoeil
No but you may submit a patch and I'll create a 8.x branch if needed.
Comment #3
webflo commented@thtas started to work on it https://www.drupal.org/node/2583061#comment-11095947
Comment #4
christophedg commentedWill https://www.drupal.org/project/field_extrawidgets be the way to go instead of Field Readonly for Drupal 8?
Comment #5
thtas commentedI've tried messaging you @anrikun but no response via your personal contact form.
Would you consider using my sandbox module as a start of a drupal 8 branch of this one?
I'd rather not publish yet another module in this space..
See https://www.drupal.org/sandbox/thtas/readonly_field_widget
Comment #6
anrikun commented@thtas Sorry I didn't receive your message :-(
Anyway, I think your module cannot be considered as a port of Field Readonly as it adds a widget like https://www.drupal.org/project/field_extrawidgets. Shouldn't you post your message in that module's issue queue?
Comment #7
martin_klimaHi, we have a development version of Readonly fields for Drupal 8.
In this time module can alter any content entity edit form and display fields without edit permission as disabled form input.
Module check permissions for each field and if an user has not permission to edit it, but has permission to view it, the module alters the content entity form and all non-editable fields are rendered as read only (disabled) form inputs.
More info in Field Readonly for D8 sandbox.
@anrikun, I wrote you a message via contact form about possibility to integrate our work as 8.x branch.
Comment #8
anrikun commented@martin_klima
Thank you for your work!
D8 version of Field Readonly should have the exact same features as D7 version.
Your WIP renders readonly fields as disabled form inputs which doesn't match the way it works in D7: readonly fields should instead be rendered the way they would be viewed based on the customizable Field Readonly view mode.
Could you modify your version so that it stays an exact port of D7 version?
Comment #9
thtas commentedI've promoted my sandbox module
https://www.drupal.org/project/readonly_field_widget
Perhaps you could link to it from your main page @anrikun