VisualDataForm:Books: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
             "label": [
             "label": [
                 "Title"
                 "Title"
            ],
            "help-message": [
                "ab'''c'''"
             ],
             ],
             "property-model": "smw-property",
             "property-model": "smw-property",
Line 15: Line 18:
             "selectOptionsFrom": "options-values",
             "selectOptionsFrom": "options-values",
             "required": true,
             "required": true,
             "type": "property"
             "type": "property",
            "help-message-result": "ab\u003Cb\u003Ec\u003C/b\u003E",
            "label-result": "Title"
         },
         },
         "New content block": {
         "New content block": {
Line 54: Line 59:
             "property-model": "smw-property",
             "property-model": "smw-property",
             "SMW-property": "Text",
             "SMW-property": "Text",
             "multiple-value": 1,
             "multiple-value": true,
             "preferred-input": "OO.ui.MenuTagMultiselectWidget",
             "preferred-input": "OO.ui.MenuTagMultiselectWidget",
             "input-config": {
             "input-config": {
Line 65: Line 70:
                 "c"
                 "c"
             ],
             ],
             "type": "property",
             "type": "property"
            "help-message-result": "Try to add a tag, then open the dropdown again and click on more tags to select them and then click again on the tags to deselect them, then check browser console",
            "label-result": "Test bug Taginput",
            "options-values-result": {
                "a": "a",
                "b": "b",
                "c": "c"
            },
            "form": "Books"
         }
         }
     }
     }
}
}

Latest revision as of 10:44, 21 August 2023

pagename-formula"Books/<Title>"
freetext-input"do not show"
content-model"wikitext"
field-align"left"
popup-helptrue
fields
Title
label
"Title"
help-message
"ab'''c'''"
property-model"smw-property"
SMW-property"Title"
preferred-input"OO.ui.TextInputWidget"
selectOptionsFrom"options-values"
requiredtrue
type"property"
help-message-result"ab<b>c</b>"
label-result"Title"
New content block
label
"New content block"
content"<div style="text-align:right"> [[File:Download.jpeg|frameless]] </div>"
type"content-block"
content-result"<div style="text-align:right"> <p><a href="/wiki/File:Download.jpeg" class="image"><img alt="Download.jpeg" src="/w/media/Download.jpeg" decoding="async" width="248" height="123" data-file-width="248" data-file-height="123" /></a> </p> </div>"
label-result"New content block"
form"Books"
Author
label
"Author"
help-message
"enter the author of the book"
property-model"smw-property"
SMW-property"Author"
multiple-value1
preferred-input"OO.ui.TextInputWidget"
selectOptionsFrom"options-values"
requiredtrue
type"property"
help-message-result"enter the author of the book"
label-result"Author"
form"Books"
Test bug Taginput
label
"Test bug Taginput"
help-message
"Try to add a tag, then open the dropdown again and click on more tags to select them and then click again on the tags to deselect them, then check browser console"
property-model"smw-property"
SMW-property"Text"
multiple-valuetrue
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
tagLimit"1"
selectOptionsFrom"options-values"
options-values
"a"
"b"
"c"
type"property"