VisualDataForm:Books: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 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", | ||
"SMW-property": " | "SMW-property": "Title", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"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 39: | Line 41: | ||
"property-model": "smw-property", | "property-model": "smw-property", | ||
"SMW-property": "Author", | "SMW-property": "Author", | ||
"multiple-value": | "multiple-value": 1, | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"selectOptionsFrom": "options-values", | "selectOptionsFrom": "options-values", | ||
"required": true, | "required": true, | ||
"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-value": true, | |||
"preferred-input": "OO.ui.MenuTagMultiselectWidget", | |||
"input-config": { | |||
"tagLimit": "1" | |||
}, | |||
"selectOptionsFrom": "options-values", | |||
"options-values": [ | |||
"a", | |||
"b", | |||
"c" | |||
], | |||
"type": "property" | "type": "property" | ||
} | } | ||
} | } | ||
} | } |
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-help | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fields |
|