Skip to content

[Feature]: Multiple Input Feature #91

Description

@rjjrbatarao

What do you want?

A new feature! to add multiple input in one confirmable popup

Why do you want it?

A new feature! I have to add records to a database it requires mutiple input

How do you implement it?

A new feature!
something like array in InputPopup

       let name, age, gender;

        new InputPopup([{
          id: "popupTypeName",
          title: "Name",
          value: name,
          numeric: false,
        },
        {
          id: "popupTypeAge",
          title: "Age",
          value: age,
          numeric: true,
        },
        {
          id: "popupTypeGender",
          title: "Gender",
          value: gender,
          numeric: false,
        },
]).show()
          .on("confirm", (arr) => {
            GUI.warn(`NEW Record: ${arr[0]} ${arr[1]}, ${arr[2]}`);
            drawGui();
});

Are you interested in developing this feature?

  • Yes, I am interested in developing this feature
  • No, I am not interested in developing this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions