Skip to content

Add textarea and select clear to formOptionalBlocks component #656

Description

@KarelJanVanHaute

Add this to the clear at line 89

if (c.nodeName === 'TEXTAREA') {
          (c as HTMLTextAreaElement).value = '';
        }
        if (c.nodeName === 'SELECT') {
          (c as HTMLSelectElement).selectedIndex = 0;
        }

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions