There is no way of telling if you are doing something wrong without a minimal working example. For guidelines of creating a minimal example, see: Read before posting: How do I get my question answered?
There is no way of telling if you are doing something wrong without a minimal working example. For guidelines of creating a minimal example, see: Read before posting: How do I get my question answered?