We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bab51 commit d758897Copy full SHA for d758897
src/components/LineEdit/index.ts
@@ -16,7 +16,7 @@ const setProps = (
16
) => {
17
const setter: LineEditProps = {
18
set text(text: string) {
19
- widget.setText(text);
+ text ? widget.setText(text) : widget.clear();
20
},
21
set placeholderText(text: string) {
22
widget.setPlaceholderText(text);
0 commit comments