Skip to content

Fix: Form validation on optional, empty fields of types 'Element\Url' and 'OmekaElement\PropertySelect'#10

Open
mcoonen wants to merge 2 commits into
Daniel-KM:masterfrom
mcoonen:fix/save-config-silently-fails
Open

Fix: Form validation on optional, empty fields of types 'Element\Url' and 'OmekaElement\PropertySelect'#10
mcoonen wants to merge 2 commits into
Daniel-KM:masterfrom
mcoonen:fix/save-config-silently-fails

Conversation

@mcoonen

@mcoonen mcoonen commented May 28, 2026

Copy link
Copy Markdown

Note

This fix solves the issue described at #9
The fix applies to both modules ImageServer and IiifServer

The PR is being described in the corresponding PR at the IiifServer repo Daniel-KM/Omeka-S-module-IiifServer#48

mcoonen added 2 commits May 28, 2026 16:38
Details:
Add `required => false, allow_empty => true` for every `AbstractVocabularyMemberSelect` instance (the common ancestor of `PropertySelect`).
@mcoonen mcoonen changed the title Fix: Form validation on optional, empty fields of type Element\Url::class Fix: Form validation on optional, empty fields of types 'Element\Url' and 'OmekaElement\PropertySelect' Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant