mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
Fix/remove compatible versions requirement (#171)
* fix(plugins): Remove compatible_versions requirement from single plugin install Remove compatible_versions from required fields in install_from_url method to match install_plugin behavior. This allows installing plugins from URLs without manifest version requirements, consistent with store plugin installation. * fix(7-segment-clock): Update submodule with separator and spacing fixes * fix(plugins): Add onchange handlers to existing custom feed inputs - Add onchange handlers to key and value inputs for existing patternProperties fields - Fixes bug where editing existing custom RSS feeds didn't save changes - Ensures hidden JSON input field is updated when users edit feed entries - Affects all plugins using patternProperties (custom_feeds, feed_logo_map, etc.) --------- Co-authored-by: Chuck <chuck@example.com>
This commit is contained in:
Submodule plugins/7-segment-clock updated: 61a9c71d67...cf58d50b90
@@ -2506,13 +2506,15 @@ function generateFieldHtml(key, prop, value, prefix = '') {
|
||||
value="${pairKey}"
|
||||
placeholder="Key"
|
||||
class="flex-1 px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
|
||||
data-key-index="${index}">
|
||||
data-key-index="${index}"
|
||||
onchange="updateKeyValuePairData('${fieldId}', '${fullKey}')">
|
||||
<input type="${valueType === 'string' ? 'text' : valueType === 'number' || valueType === 'integer' ? 'number' : 'text'}"
|
||||
name="${fullKey}[value_${index}]"
|
||||
value="${pairValue}"
|
||||
placeholder="Value"
|
||||
class="flex-1 px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
|
||||
data-value-index="${index}">
|
||||
data-value-index="${index}"
|
||||
onchange="updateKeyValuePairData('${fieldId}', '${fullKey}')">
|
||||
<button type="button"
|
||||
onclick="removeKeyValuePair('${fieldId}', ${index})"
|
||||
class="px-3 py-2 text-red-600 hover:text-red-800 hover:bg-red-50 rounded-md transition-colors"
|
||||
|
||||
Reference in New Issue
Block a user