Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Fix PR #600
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunkat committed May 26, 2017
1 parent ed4b32b commit bf49f20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/assets/css/inputs.css
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,11 @@ input:checked + .input-slider:before {
color: $brand-font-color;
background-color: $brand-danger-color !important;
}
.input-error .input-dropdown-list-option.input-dropdown-list-option-key-on,
.input-error .input-dropdown-list-option.input-dropdown-list-option-key-on * {
color: $brand-font-color;
background-color: $brand-danger-color !important;
}
.input-dropdown-list-option p {
margin:0;
overflow: hidden;
Expand Down Expand Up @@ -991,7 +996,3 @@ table .rdtPicker table td,
vertical-align: middle;
padding: 0;
}
.Lookup .input-icon {
height: 16px;
bottom: 0;
}
6 changes: 4 additions & 2 deletions src/components/widget/Lookup/Lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ class Lookup extends Component {
properties && properties.map((item, index) => {
const disabled = isInputEmpty && index != 0;

if(item.source === 'lookup'){
if(item.source === 'lookup' ||
item.widgetType === 'Lookup'){
return <RawLookup
key={index}
newRecordCaption={newRecordCaption}
Expand All @@ -148,7 +149,8 @@ class Lookup extends Component {
windowType, parameterName, entity, dataId,
isModal, recent, rank, updated, filterWidget,
mandatory, validStatus, align, onChange, item,
disabled, fireClickOutside}}
disabled, fireClickOutside, viewId, subentity,
subentityId}}
/>

} else if (item.source === 'list') {
Expand Down

0 comments on commit bf49f20

Please sign in to comment.