summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-10-12 09:02:46 +0300
committerPekka Hyvönen <pekka@vaadin.com>2016-10-14 13:45:24 +0300
commitff4d7b1e9b7b4bf9a15bd199acc3d7a12c519cc2 (patch)
tree45dbbb15e1f3aa052c4ee619589d6d8b3731d52f /shared
parent24e11dca6b074217d594e618727dfe7abf7c3a90 (diff)
downloadvaadin-framework-ff4d7b1e9b7b4bf9a15bd199acc3d7a12c519cc2.tar.gz
vaadin-framework-ff4d7b1e9b7b4bf9a15bd199acc3d7a12c519cc2.zip
Use placeholder instead of inputPrompt for DateField
Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldState.java
index f71d33fb3a..4566096e9a 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/DateFieldState.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.shared.ui.datefield;
+import com.vaadin.shared.annotations.DelegateToWidget;
import com.vaadin.shared.annotations.NoLayout;
public class DateFieldState extends TextualDateFieldState {
@@ -27,4 +28,7 @@ public class DateFieldState extends TextualDateFieldState {
public boolean textFieldEnabled = true;
@NoLayout
public String descriptionForAssistiveDevices = DESCRIPTION_FOR_ASSISTIVE_DEVICES;
+ @NoLayout
+ @DelegateToWidget
+ public String placeholder = null;
}