@24i/bigscreen-sdk 1.0.54-alpha.2835 → 1.0.54-alpha.2836

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/bigscreen-sdk",
3
- "version": "1.0.54-alpha.2835",
3
+ "version": "1.0.54-alpha.2836",
4
4
  "description": "SmartApps BIGscreen SDK monorepo",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -106,6 +106,12 @@ export class Input extends Component<Props> implements IFocusable {
106
106
 
107
107
  setValue(value: string) {
108
108
  this.nativeInput.current!.value = value;
109
+ setText(this.text, this.filterText(value));
110
+ if (value.length === 0) {
111
+ this.showPlaceholder();
112
+ } else {
113
+ this.hidePlaceholder();
114
+ }
109
115
  }
110
116
 
111
117
  setType(type: Props['type']) {