I'm afraid I'm missing something obvious, so please forgive me if that is the case.
I would like to use a token to populate an input. I don't wan't the anonymous user to be able to edit the value, but I would like them to see the value in the field. In Drupal 7, I could check the "disabled" box for this functionality. (See screenshot) I've been looking a while and have not been able to find the setting.
Does this functionality exist in the Drupal 8 version of Webform? If so, how do I enable it?
By the way, thank you for the great module. I'm so excited to see the rapid advancement in the Webform module!
Comment | File | Size | Author |
---|---|---|---|
#4 | where_is_the_disabled-2872505-3.patch | 18.66 KB | jrockowitz |
| |||
#2 | Contact Webform Demo Site.png | 261.23 KB | jrockowitz |
Screen Shot 2017-04-24 at 5.08.25 PM.png | 18.2 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedShawnolt created an issue. See original summary.
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedAdding disabled support should be easy to implement. For now, you can add disabled: true to your custom properties.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI committed the patch. Please download the latest dev release to review.
Comment #10
Adrian83 CreditAttribution: Adrian83 commentedI upgraded to the dev version (being on the same project as Shawnnolt), checked the box, and bingo, the field is disabled! This was on a text field type.
Thank you for your quick response. Your are doing quite a service for the Drupal community!