fix: textarea with password visual bug (#3739)
* Fix textarea with password visual bug * Changed password field to default to none * updated sanitizedHTMLWrapper to receive ref * fixed sanitizedhtmlwrapper type * Added back to scroll position and cursor position on Chrome * [autofix.ci] apply automated fixes * Fix position of password * Fixed tests * Fixed examples * Fixed test schema --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: anovazzi1 <otavio2204@gmail.com>
This commit is contained in:
parent
0b1198efc4
commit
5bb266cbc1
8 changed files with 69 additions and 36 deletions
|
|
@ -40,8 +40,8 @@ def test_template_field_defaults(sample_template_field: Input):
|
|||
assert sample_template_field.value is None
|
||||
assert sample_template_field.file_types == []
|
||||
assert sample_template_field.file_path == ""
|
||||
assert sample_template_field.password is False
|
||||
assert sample_template_field.name == "test_field"
|
||||
assert sample_template_field.password is None
|
||||
|
||||
|
||||
def test_template_to_dict(sample_template: Template, sample_template_field: Input):
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ class TestInput:
|
|||
"multiline": False,
|
||||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"password": False,
|
||||
"advanced": False,
|
||||
"title_case": False,
|
||||
"dynamic": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue