Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

hide text input with css

Hi,
I have 5 textinputs which are invisible "Visible unchecked in editor"

when the screen loads these inputs are visible for a couple of seconds and then disappear.

this is always the behavior every time the app is opened, once opened they remain hidden when you navigate between pages

after speak to another user I was told this was a bug and I should try "hidden" with css,

I created a new css called "hiddenitem" and used this code, and gave each input the class of "hiddenitem"

.hiddenItem {
display:none !important;
}

no result, the inputs are still visible on first load.

Is there a way around this?

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

hide text input with css

Dear Michael,

Class name should be the same and it's case-sensitive.
You use "hiddenitem" in component properties and "hiddenItem" in CSS.
This is incorrect.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

hide text input with css

Thanks for spotting that Katya,
I couldn't see the wood for the trees!

works great, thanks again

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

hide text input with css

You're always welcome :)

Return to “Issues”