Skip to content

Commit

Permalink
Fix #6615 "Bookshelf form: "Control Settings" don't open on "Language…
Browse files Browse the repository at this point in the history
…" control"
  • Loading branch information
Erik Bruchez committed Nov 8, 2024
1 parent a0f6663 commit 0c7a48f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<xbl:xbl xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xbl="http://www.w3.org/ns/xbl">

<xbl:binding id="fb-input-select1-minimal" element="xf|select1, xf|select1[appearance ~= minimal]">
<metadata xmlns="http://orbeon.org/oxf/xml/form-builder">
<display-name lang="en">Dropdown</display-name>
<display-name lang="es">Menú Desplegable</display-name>
<display-name lang="fi">Pudotusvalikko</display-name>
<display-name lang="fr">Menu déroulant</display-name>
<display-name lang="ru">Выпадающий список</display-name>
<display-name lang="de">Dropdown-Menü</display-name>
<display-name lang="it">Menu a tendina</display-name>
<display-name lang="nl">Uitklapmenu</display-name>
<display-name lang="pt">Menu Lista de Opções</display-name>
<display-name lang="sv">Rullgardinsmeny</display-name>
<toolbox show="false"/>
<icon>
<icon-class>fa fa-fw fa-caret-square-o-down</icon-class>
</icon>
<editors static-itemset="true" item-hint="true"/>
<templates>
<view>
<xf:select1 id="" ref="" xmlns="">
<xf:label ref=""/>
<xf:hint ref=""/>
<xf:help ref=""/>
<xf:alert ref=""/>
<xf:itemset ref="">
<xf:label ref="label"/>
<xf:value ref="value"/>
<xf:hint ref="hint"/>
</xf:itemset>
</xf:select1>
</view>
</templates>
</metadata>
</xbl:binding>

</xbl:xbl>
1 change: 1 addition & 0 deletions src/main/resources/config/properties-form-builder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
oxf:/xbl/orbeon/checkbox-input/checkbox-input.xbl
oxf:/xbl/orbeon/yesno-input/yesno-input.xbl
oxf:/forms/orbeon/builder/xbl/selection-input-boolean.xbl
oxf:/forms/orbeon/builder/xbl/selection-select1-minimal.xbl
</property>

<property as="xs:string" name="oxf.fb.toolbox.group.attachment.uri.*.*">
Expand Down

0 comments on commit 0c7a48f

Please sign in to comment.