Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Add "readOnly" option to fields #134

Closed
gavinworks opened this issue Feb 6, 2017 · 3 comments
Closed

Feature Request - Add "readOnly" option to fields #134

gavinworks opened this issue Feb 6, 2017 · 3 comments

Comments

@gavinworks
Copy link

Currently there is no way to set fields to "readOnly: true" via Builder. Each time the field is updated via Builder the "readOnly" flag is removed from the field definition in the fields.yaml file. Small annoyance which would be nice to have fixed :)

@LukeTowers
Copy link
Contributor

@gavinworks feel free to make a PR adding it to the default field properties. See https://github.com/rainlab/builder-plugin/blob/master/classes/ControlLibrary.php#L159

@bennothommo
Copy link
Contributor

This is now available as of 95f3451.

@gavinworks
Copy link
Author

We love @bennothommo !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants