Skip to content

Need default text for input fields #12

@markrickert

Description

@markrickert

The new text fields addition is awesome and I can set a placeholder, but I also need to set a default text on the text field. For instance:

rmq.app.alert(
  title: "Text Field", 
  message: "My style is :input", 
  style: :input, 
  placeholder: "whatever",
  default_text: "My Default Text") do |action_type, fields|
  puts "you entered '#{fields[:text].text}"
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions