mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
make textarea rows configurable (#3042)
* make textarea rows configurable * add comments * better defaults
This commit is contained in:
@@ -22,8 +22,8 @@ import { HintPipe } from '../pipes/hint.pipe'
|
||||
<textarea
|
||||
placeholder="Placeholder"
|
||||
tuiTextarea
|
||||
[max]="6"
|
||||
[min]="3"
|
||||
[min]="spec.minRows"
|
||||
[max]="spec.maxRows"
|
||||
[attr.maxLength]="spec.maxLength"
|
||||
[disabled]="!!spec.disabled"
|
||||
[readOnly]="readOnly"
|
||||
|
||||
@@ -96,6 +96,8 @@ export default class GatewaysComponent {
|
||||
name: this.i18n.transform('File Contents'),
|
||||
default: null,
|
||||
required: true,
|
||||
minRows: 16,
|
||||
maxRows: 16,
|
||||
}),
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user