Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
30bbe256
Unverified
Commit
30bbe256
authored
Nov 06, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: issue-568: fixed issue where setting text to nil breaks the TextField
parent
a0ec4fa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
Sources/iOS/TextField.swift
+0
-16
No files found.
Sources/iOS/TextField.swift
View file @
30bbe256
...
@@ -142,22 +142,6 @@ open class TextField: UITextField {
...
@@ -142,22 +142,6 @@ open class TextField: UITextField {
}
}
}
}
/// TextField's text property observer.
@IBInspectable
open
override
var
text
:
String
?
{
didSet
{
guard
isEmpty
else
{
return
}
guard
!
isFirstResponder
else
{
return
}
placeholderEditingDidEndAnimation
()
}
}
/// The placeholderLabel text value.
/// The placeholderLabel text value.
@IBInspectable
@IBInspectable
open
override
var
placeholder
:
String
?
{
open
override
var
placeholder
:
String
?
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment