Skip to content

Commit

Permalink
Merge pull request #186 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AxelVerstappen authored Jun 2, 2022
2 parents 45c1edd + 68175ba commit be1dae6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/commonjs/multi-select/multi-select-extended.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MultiSelectBase } from './multi-select-base';
export declare class MultiSelectExtended extends MultiSelectBase {
addOnChange: boolean;
inputValue: string;
inputValue: string | number;
addInput(): void;
removeFromList(item: any): void;
bind(): void;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/multi-select/multi-select-extended.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/multi-select/multi-select-extended.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<template><require from="./styles/multi-select-extended.css"></require><div class="multi-input-container" show.bind="!disabled"><select value.bind="inputValue" change.delegate="addOnChange ? addInput(): null"><option if.bind="placeholder" model.bind="null" selected="selected" style="display:none">${placeholder}</option><option repeat.for="item of options" value.bind="item[idProperty]">${item[labelProperty]}</option></select><div if.bind="!addOnChange" class="fa fa-plus multi-input-icon" click.trigger="!disabled ? addInput() : null"></div></div><ul class="multi-input-list" if.bind="value.length > 0"><li repeat.for="item of value"> ${item[labelProperty]} <span show.bind="!disabled" class="fa fa-trash multi-input-remove" click.trigger="removeFromList(item)"></span></li></ul></template>
<template><require from="./styles/multi-select-extended.css"></require><div class="multi-input-container" show.bind="!disabled"><select value.bind="inputValue" change.delegate="addOnChange ? addInput(): null"><option if.bind="placeholder" model.bind="null" selected="selected" style="display:none">${placeholder}</option><option repeat.for="item of options" model.bind="item[idProperty]">${item[labelProperty]}</option></select><div if.bind="!addOnChange" class="fa fa-plus multi-input-icon" click.trigger="!disabled ? addInput() : null"></div></div><ul class="multi-input-list" if.bind="value.length > 0"><li repeat.for="item of value"> ${item[labelProperty]} <span show.bind="!disabled" class="fa fa-trash multi-input-remove" click.trigger="removeFromList(item)"></span></li></ul></template>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MultiSelectBase } from './multi-select-base';
export declare class MultiSelectExtended extends MultiSelectBase {
addOnChange: boolean;
inputValue: string;
inputValue: string | number;
addInput(): void;
removeFromList(item: any): void;
bind(): void;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<template><require from="./styles/multi-select-extended.css"></require><div class="multi-input-container" show.bind="!disabled"><select value.bind="inputValue" change.delegate="addOnChange ? addInput(): null"><option if.bind="placeholder" model.bind="null" selected="selected" style="display:none">${placeholder}</option><option repeat.for="item of options" value.bind="item[idProperty]">${item[labelProperty]}</option></select><div if.bind="!addOnChange" class="fa fa-plus multi-input-icon" click.trigger="!disabled ? addInput() : null"></div></div><ul class="multi-input-list" if.bind="value.length > 0"><li repeat.for="item of value"> ${item[labelProperty]} <span show.bind="!disabled" class="fa fa-trash multi-input-remove" click.trigger="removeFromList(item)"></span></li></ul></template>
<template><require from="./styles/multi-select-extended.css"></require><div class="multi-input-container" show.bind="!disabled"><select value.bind="inputValue" change.delegate="addOnChange ? addInput(): null"><option if.bind="placeholder" model.bind="null" selected="selected" style="display:none">${placeholder}</option><option repeat.for="item of options" model.bind="item[idProperty]">${item[labelProperty]}</option></select><div if.bind="!addOnChange" class="fa fa-plus multi-input-icon" click.trigger="!disabled ? addInput() : null"></div></div><ul class="multi-input-list" if.bind="value.length > 0"><li repeat.for="item of value"> ${item[labelProperty]} <span show.bind="!disabled" class="fa fa-trash multi-input-remove" click.trigger="removeFromList(item)"></span></li></ul></template>
2 changes: 1 addition & 1 deletion src/multi-select/multi-select-extended.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="multi-input-container" show.bind="!disabled">
<select value.bind="inputValue" change.delegate="addOnChange ? addInput(): null">
<option if.bind="placeholder" model.bind="null" selected style="display: none;">${placeholder}</option>
<option repeat.for="item of options" value.bind="item[idProperty]">${item[labelProperty]}</option>
<option repeat.for="item of options" model.bind="item[idProperty]">${item[labelProperty]}</option>
</select>
<div if.bind="!addOnChange" class="fa fa-plus multi-input-icon" click.trigger="!disabled ? addInput() : null"></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/multi-select/multi-select-extended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MultiSelectBase } from './multi-select-base';
@autoinject
export class MultiSelectExtended extends MultiSelectBase {
@bindable public addOnChange: boolean = false;
public inputValue: string;
public inputValue: string|number;

public addInput() {
if (this.inputValue) {
Expand Down

0 comments on commit be1dae6

Please sign in to comment.