mirror of
https://github.com/ahmetildirim/obsidian-inscribe.git
synced 2026-07-22 05:44:10 +00:00
fix: disable output limit input based on settings configuration
This commit is contained in:
parent
4a96ba1b4c
commit
f9f17e19d5
1 changed files with 1 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ class SuggestionControlSection {
|
|||
.addText((text) => {
|
||||
text.inputEl.setAttr("type", "number");
|
||||
text.inputEl.setAttr("min", "1");
|
||||
text.setDisabled(!this.plugin.settings.suggestionControl.outputLimit.enabled);
|
||||
text
|
||||
.setValue(String(this.plugin.settings.suggestionControl.outputLimit.sentences))
|
||||
.onChange(async (value) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue