Drop unused TextAreaComponent

This commit is contained in:
the-djmaze 2022-09-20 12:29:27 +02:00
parent e35fbea415
commit d69e45f7bf
3 changed files with 0 additions and 19 deletions

View file

@ -10,7 +10,6 @@ import { ThemeStore } from 'Stores/Theme';
import { InputComponent } from 'Component/Input';
import { SelectComponent } from 'Component/Select';
import { TextAreaComponent } from 'Component/TextArea';
import { CheckboxMaterialDesignComponent } from 'Component/MaterialDesign/Checkbox';
import { CheckboxComponent } from 'Component/Checkbox';
@ -49,7 +48,6 @@ export class AbstractApp {
register('Input', InputComponent);
register('Select', SelectComponent);
register('TextArea', TextAreaComponent);
register('Checkbox', CheckboxMaterialDesignComponent, 'CheckboxMaterialDesignComponent');
register('CheckboxSimple', CheckboxComponent, 'CheckboxComponent');

View file

@ -1,12 +0,0 @@
import { AbstractInput } from 'Component/AbstractInput';
export class TextAreaComponent extends AbstractInput {
/**
* @param {Object} params
*/
constructor(params) {
super(params);
this.rows = params.rows || 5;
}
}

View file

@ -1,5 +0,0 @@
<textarea rows="5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="value: value, enable: enable, attr: { 'placeholder': placeholder, 'rows': rows }, css: className"></textarea>
<!-- ko if: trigger -->
<span data-bind="saveTrigger: trigger"></span>
<!-- /ko -->