-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fixed in 0.75.1] PluginAdditionalOption.TextValue
and other value properties are not persistent
#29465
Comments
@waaverecords |
Yes! @htcfreek public class Main : IPlugin, ISettingProvider
{
// ...
IEnumerable<PluginAdditionalOption> ISettingProvider.AdditionalOptions => new List<PluginAdditionalOption>()
{
new PluginAdditionalOption
{
Key = "Textbox",
DisplayLabel = "Textbox",
PluginOptionType = PluginAdditionalOption.AdditionalOptionType.Textbox
},
new PluginAdditionalOption
{
Key = "Bool",
DisplayLabel = "Bool"
// PluginOptionType is Checkbox by default
}
};
} Change the value of both settings. Only the "Bool" option has its value persisted. |
@lin-ycv |
Yes, sounds like the same issue. |
Pretty sure only SettingsReader.CombineAdditionalOptions needs modifications. |
@waaverecords |
PR request -> #29480 |
@jaimecbernardo |
@jaimecbernardo |
PluginAdditionalOption.TextValue
and other value properties are not persistentPluginAdditionalOption.TextValue
and other value properties are not persistent
Is it me or
PluginAdditionalOption.TextValue
and other value properties added in this PR are not persistent?I think
defaultOption.TextValue = option.TextValue;
and other assigments are missing.Originally posted by @waaverecords in #28601 (comment)
The text was updated successfully, but these errors were encountered: