GantMan / GantMan/RedAlert

Need ability to set fields to clearButtonMode

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
24
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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

The standard clear button is displayed at the right side of the text field, when the text field has contents, as a way for the user to remove text quickly. This button appears automatically based on the value set for this property.

The default value for this property is UITextFieldViewModeNever.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.