IDEMPIERE-6091 Field shown as mandatory when filled with space of tab (#2293)
This commit is contained in:
parent
4af5caf944
commit
9f6c6c3ff4
|
@ -890,7 +890,7 @@ public abstract class WEditor implements EventListener<Event>, PropertyChangeLis
|
||||||
*/
|
*/
|
||||||
public boolean isNullOrEmpty() {
|
public boolean isNullOrEmpty() {
|
||||||
Object value = getValue();
|
Object value = getValue();
|
||||||
return value == null || value.toString().trim().length() == 0;
|
return value == null || value.toString().length() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue