|
40 | 40 | (i18n/label :t/contact-request-message-prompt)]
|
41 | 41 | [rn/view {:style style/message-input-wrapper}
|
42 | 42 | [quo/input
|
43 |
| - {:type :text |
44 |
| - :multiline? true |
45 |
| - :char-limit constants/contact-request-message-max-length |
46 |
| - :max-length constants/contact-request-message-max-length |
47 |
| - :placeholder (i18n/label :t/type-something) |
48 |
| - :auto-focus true |
49 |
| - :accessibility-label :contact-request-message |
50 |
| - :label (i18n/label :t/message) |
51 |
| - :on-change-text on-message-change}]] |
52 |
| - [quo/bottom-actions |
53 |
| - {:actions :one-action |
54 |
| - :button-one-props {:disabled? (string/blank? message) |
55 |
| - :accessibility-label :send-contact-request |
56 |
| - :customization-color customization-color |
57 |
| - :on-press on-message-submit} |
58 |
| - :button-one-label (i18n/label :t/send-contact-request)}]])) |
| 43 | + {:type :text |
| 44 | + :multiline? true |
| 45 | + :char-limit constants/contact-request-message-max-length |
| 46 | + :max-length constants/contact-request-message-max-length |
| 47 | + :placeholder (i18n/label :t/type-something) |
| 48 | + :auto-focus true |
| 49 | + :accessibility-label :contact-request-message |
| 50 | + :label (i18n/label :t/message) |
| 51 | + :on-change-text on-message-change |
| 52 | + :input-style {:flex 1 |
| 53 | + :min-height "100%"} |
| 54 | + :container-style {:flex-shrink 1} |
| 55 | + :input-container-style {:flex-shrink 1}}]] |
| 56 | + [rn/view {:style {:flex 1}} |
| 57 | + [quo/bottom-actions |
| 58 | + {:actions :one-action |
| 59 | + :button-one-props {:disabled? (string/blank? message) |
| 60 | + :accessibility-label :send-contact-request |
| 61 | + :customization-color customization-color |
| 62 | + :on-press on-message-submit} |
| 63 | + :button-one-label (i18n/label :t/send-contact-request)}]]])) |
59 | 64 |
|
0 commit comments