Skip to content

After fill, set fields read only #321

Closed Answered by gettalong
loust333 asked this question in Q&A
Discussion options

You must be logged in to vote

Making a field read only can be done by setting the corresponding flag. Some flags, like the read only flag, are available for all kinds of fields. The documentation shows the flags that are available for all fields, the class documentation for the specific field classes show the specific field flags for that kind of class.

So you would do field.flag(:read_only) to set it to read only.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@loust333
Comment options

@gettalong
Comment options

Answer selected by loust333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants