Hi all,
when using input widget I set Prompt for it but when I focus to the input the prompt is not hidden as document, do you know how to hide it when user focus on input and display again when click outside the input?
thank you.
Hello,
Can you please share your Inputwidget property here? So that we can investigate further.
Thank u.
Hi @Bella Nguyen,
Could you please confirm whether the prompt has been set in the input widget’s properties?
Thanks!
Hi @Bella Nguyen
Can you share your .oml file?
I think the Prompt property has some limitations so this can be implemented using CSS/Javascript to control the visibility.
My propertise as below
I need to use CSS to fix it
.form-control[data-input]:focus::placeholder{
color: transparent;
}
hi @Bella Nguyen
You can check this CSS:
.form-control[data-input]:focus::placeholder {
opacity: 0;
but
this CSS also working for me if you focus to the input the prompt is hidden and when click outside the input then prompt displayed
I hope this helps
Thanks