WoWInterface - View Single Post - Ace3 Options Input Disable Button
View Single Post
09-28-20, 11:23 AM   #3
An Onyxian Warder
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 394
Originally Posted by Lindrin View Post
How do I disable the 'okay' button for the message input?
You can only disable the entire control when using an options table.
		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
  Reply With Quote