Originally Posted by Lindrin
How do I disable the 'okay' button for the message input?
|
You can only disable the entire control when using an options table.
Code:
message = {
name = Barker.L['LABEL_MESSAGE'],
desc = Barker.L['DESC_MESSAGE'],
type = 'input',
order = 2,
disabled = function() return true end,
get = function() Options:GetMessage() end,
set = function(...) Options:SetMessage(...) end
}