Merge pull request #408 from litvinovg/autocomplete_form_fix

Autocomplete object property form fixes
This commit is contained in:
Dragan Ivanovic 2023-06-21 16:12:50 +02:00 committed by GitHub
commit 5ff98823ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -119,7 +119,7 @@ Also multiple types parameter set to true only if more than one type returned-->
acSelectOnly: 'true',
sparqlForAcFilter: '${sparqlForAcFilter?js_string}',
sparqlQueryUrl: '${sparqlQueryUrl?js_string}',
acFilterForIndividuals: ${acFilterForIndividuals?js_string},
acFilterForIndividuals: ${acFilterForIndividuals},
defaultTypeName: '${propertyNameForDisplay?js_string}', // used in repair mode to generate button text
baseHref: '${urls.base}/individual?uri='
};

View file

@ -0,0 +1,24 @@
/* $This file is distributed under the terms of the license in LICENSE$ */
/* Styles for autocomplete and autocomplete selections using jQuery UI. This is separated out so that forms
that don't load customFormWithAutocomplete.css still have access to these styles. */
.acSelection {
display: none;
margin-top: 1em;
}
.acSelectionInfo {
background-color: #d9d9d9;
padding: .2em .35em;
}
ul.ui-autocomplete {
font-size: .95em;
}
li.ui-menu-item a.ui-corner-all {
text-align: left;
padding-left: .25em;
}
.acSelectorWithHelpText{
font-style: italic;
color: #555;
}