mattermost-community / mattermost-app-zendesk

Zendesk App for Mattermost
13 stars 10 forks source link

[MM-35420] add readonly prop to the AppField #70

Closed jfrerich closed 3 years ago

jfrerich commented 3 years ago

Summary

This PR adds the optional readonly field to the fieldsBuilder class so that a field can be set to readonly.

The Apps Plugin has this capability, but the Zendesk app was not sending the bool value.

The Mattermost message field when creating a ticket will be readonly after this change. image

Ticket Link

https://mattermost.atlassian.net/browse/MM-35420

jfrerich commented 3 years ago

@DHaussermann I'm going to go ahead and merge. This is a simple fix that doesn't really require a full QA.