mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 05:41:52 +01:00
[automation] Remove readOnly flag on script type parameter (#2373)
Not sure if there's a good rationale behind it being read-only (maybe because it's not supposed to change after having been set) but removing it will fix https://github.com/openhab/openhab-webui/issues/1061. Signed-off-by: Yannick Schaus <github@schaus.net>
This commit is contained in:
parent
696ebacdc7
commit
66149659ca
@ -107,7 +107,7 @@ public class ScriptModuleTypeProvider implements ModuleTypeProvider {
|
||||
parameterOptionsList.add(new ParameterOption(entry.getKey(), entry.getValue()));
|
||||
}
|
||||
final ConfigDescriptionParameter scriptType = ConfigDescriptionParameterBuilder.create("type", Type.TEXT)
|
||||
.withRequired(true).withReadOnly(true).withMultiple(false).withLabel("Script Type")
|
||||
.withRequired(true).withMultiple(false).withLabel("Script Type")
|
||||
.withDescription("the scripting language used").withOptions(parameterOptionsList)
|
||||
.withLimitToOptions(true).build();
|
||||
final ConfigDescriptionParameter script = ConfigDescriptionParameterBuilder.create("script", Type.TEXT)
|
||||
|
Loading…
Reference in New Issue
Block a user