-
Notifications
You must be signed in to change notification settings - Fork 117
Added fix for properties textarea-rows and textarea-width issues #2035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 16 commits
1566ff1
51f21ea
79b69fa
7819f60
928c9f6
1a3a41a
9e77b15
30327fc
80d7989
8b38b77
1670bc5
ea14786
7f35f11
ef1301a
73ea18b
6990aa6
8dffbdf
0c16634
04a5f11
aef6d6f
bc51846
bc00a4c
0fb17a8
17502c7
65f144b
4aae78c
55588e9
0754b6b
843103f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -174,6 +174,13 @@ export class Textarea implements IxInputFieldComponent<string> { | |
|
|
||
| componentWillLoad() { | ||
| this.updateFormInternalValue(this.value); | ||
| if (this.textareaWidth) { | ||
| this.hostElement.style.setProperty( | ||
| '--textarea-width', | ||
| this.textareaWidth | ||
| ); | ||
| this.hostElement.setAttribute('textarea-width', ''); | ||
| } | ||
|
Comment on lines
246
to
255
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a couple of issues with the implementation for
|
||
| } | ||
|
|
||
| updateFormInternalValue(value: string) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.