Skip to content

Commit

Permalink
fix(input): Select/Copy/Past functionality is now available on inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jan 10, 2017
1 parent 9e93d34 commit be67e28
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="Toolwatch.Toolwatch" version="1.0.4" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="Toolwatch.Toolwatch" version="1.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Toolwatch - Watch accuracy app</name>
<description>Measure and track the accuracy of your mechanical watches. Toolwatch is a free watch accuracy app trusted by the watchmaking industry's leaders and 15 000+ monthly users. Is your watch accurate? Should it be serviced? How does it compare versus other watches? Find out now by measuring the accuracy of your watch!</description>
<author email="[email protected]" href="https://toolwatch.io/">Mathieu Nayrolles</author>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"cordova-plugin-statusbar",
"ionic-plugin-keyboard"
],
"version": "1.0.4",
"version": "1.0.5",
"cordovaPlatforms": [],
"config": {
"commitizen": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/mobile-input/mobile-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[attr.autocorrect] = "autoCorrect ? 'on' : 'off'"
[attr.autocomplete] = "autoComplete ? 'on' : 'off'"
[attr.spellcheck] = "spellCheck ? 'on' : 'off'"
class = "form-control"
class = "form-control selectable"
id = "{{id}}"
type = "{{type}}"
[formControl] = "control"
Expand All @@ -26,7 +26,7 @@
[attr.autocorrect] = "autoCorrect ? 'on' : 'off'"
[attr.autocomplete] = "autoComplete ? 'on' : 'off'"
[attr.spellcheck] = "spellCheck ? 'on' : 'off'"
class = "form-control"
class = "form-control selectable"
id = "{{id}}"
type = "{{type}}"
[formControl] = "control"
Expand Down
7 changes: 6 additions & 1 deletion src/components/mobile-input/mobile-input.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
mobile-input{


.selectable {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}

.text-input {
font-size:18px !important;
Expand Down

0 comments on commit be67e28

Please sign in to comment.