Skip to content
This repository was archived by the owner on May 26, 2024. It is now read-only.
This repository was archived by the owner on May 26, 2024. It is now read-only.

Issues with required attribute #8

@kieranhogg

Description

@kieranhogg

Having an issue with required fields as the browser can't focus them after they have been replaced:

<textarea name="text" cols="40" rows="10" class="form-control" title="" required="" id="id_text" style="display: none;"></textarea>
var simplemde = new InscrybMDE({
        element: $("#id_text")[0],
        hideIcons: ["heading"],
        showIcons: ["heading-2", "heading-3"]
    });

image

Adding novalidate to the form works around the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions