Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sets to false max count option on filters that don't need it. Removes…
… unecessary imports from theme items list. Begins implementation of form component for numeric filter Ref. #242.
- Loading branch information
1 parent
dca53f1
commit 7a9e720
Showing
9 changed files
with
70 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template> | ||
<div> | ||
<!-- <b-select | ||
expanded | ||
:disabled="disabled" | ||
:id = "id" | ||
:placeholder="$i18n.get('label_selectbox_init')" | ||
:value="value" | ||
:class="{'is-empty': value == undefined || value == ''}" | ||
@blur="$emit('blur')" | ||
@input="onChecked($event)"> | ||
<option | ||
v-for="(option, index) in getOptions" | ||
:key="index" | ||
:label="option" | ||
:value="option" | ||
border>{{ option }}</option> | ||
</b-select> --> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
// props: { | ||
// filter: { | ||
// type: Object | ||
// }, | ||
// options: { | ||
// type: String | ||
// }, | ||
// value: [String, Number, Array], | ||
// id: '', | ||
// disabled: false, | ||
// }, | ||
// computed: { | ||
// getOptions(){ | ||
// if ( this.options && this.options !== '' ){ | ||
// return this.options.split("\n"); | ||
// } | ||
// else if ( this.filter && this.filter.filter.metadata_type_options.options ) { | ||
// const metadata = this.filter.filter.metadata_type_options.options; | ||
// return ( metadata ) ? metadata.split("\n") : []; | ||
// } | ||
// return []; | ||
// } | ||
// }, | ||
// methods: { | ||
// onChecked(value) { | ||
// this.$emit('input', value); | ||
// }, | ||
// } | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters