Radosław Krajewski
Radosław Krajewski
None of the above solutions work for me for conditional rendering. I managed to implement a slightly tricky solution by using Type Guard, like so: ```typescript function testT(input: T |...
There is exactly the same issue with Dropdown (version 2.2.10).
This works for my client when using `setBounds` with constant values for size, as on the @sfatihk example https://github.com/electron/electron/issues/9477#issuecomment-441450025, but doesn't work if size is taken from `getSize`. I personally...
@ikhsanalatsary You try to observe `user.body` which is actually `@json` field, not an observable. You need to observe model instead: ```js class Auth extends Component { render() { const body...
> I could probably use another component inside "PostComponent" to enhance and observe the cat inside, since author would be already available Hi @jon-dearaujo! This is correct approach - you...
@bsr203 Did you find a solution? Just to be sure - is everything correct with `toId` field definition in the model? > Is that possible to track if any records...
Hi @cemremengu. You can use `@json` type field in a model. It uses sanitize function for unsafe data. https://github.com/Nozbe/WatermelonDB/blob/master/docs/Advanced/AdvancedFields.md#json Is this what you look for?
Hi @roots-ai! I suggest you to read main description of 🍉carefully https://github.com/Nozbe/WatermelonDB#why-watermelon and watch attached video https://www.youtube.com/watch?v=UlZ1QnFF4Cw > Is this the right approach? Or am I going architecturally wrong? Basic...
@roots-ai Here is doc about synchronization https://github.com/Nozbe/WatermelonDB/blob/master/docs/Advanced/Sync.md and the issue with discussion about it https://github.com/Nozbe/WatermelonDB/issues/5. After confronting with that, if you will have any further questions, please write it up...
You can use `like` operator (https://github.com/Nozbe/WatermelonDB/blob/master/docs/Query.md#conditions-with-other-operators): ```js Q.where("full_name", Q.like("John%")) ```