community health
For anyone else struggling with getting an input component to save a number using Antd, you have to use
<InputNumber>
. <Input />
and <Input type='number' />
so NOT work. I probably should have known this but it would have been great if anyone one from the community could have helped me out with this. I am sure this is common knowledge for most but I spent 2 hours trying to find a solution to this.24 Replies
Hi @Omer. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Hey, please don't send the same questions through different channels. This way, we can make the refine Community support channels more accessible for everyone.
Sorry @Omer, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
crude-lavender•14mo ago
Thank you for responding, it's great to finally get community feedback. I have been posting to this server for over a week and this is the first community feedback that I've gotten. Where is the best place to post questions to the community?
Unfortunately, there's no single answer to this. As far as I can see, you're new to Refine and have quite a few questions, which is very natural. Often, reviewing documents and examples can be a good starting point. We can't offer any SLA for community support as this is entirely a volunteer service. We try to help everyone as much as possible here, but it's not feasible to respond to dozens of messages per day. If you're working on a critical project, you can get priority support with Refine's Enterprise package
crude-lavender•14mo ago
Yes I am new to refine and this is my first CRUD admin project. I totally understand that no one person or even a team of people can respond to every question. That is why every good open source project needs a strong community to support it. And that is also why when I have found solutions to my question I have posted what I have found. To help anyone else looking for the same answers.
I love contributing when I can and I have developed a dataProvider for tRPC for refine. Do you have a boilerplate test repo that I could run it through before I share it with the community?
Thank you very much for your understanding and contributions!
You can review the tests of the 'simple-rest data provider' here: https://github.com/refinedev/refine/tree/master/packages/simple-rest
In the data-provider packages, we mock HTTP requests for testing using the nock (https://github.com/nock/nock) library
crude-lavender•14mo ago
Do you have a codeSandbox template setup that I could clone and update?
crude-lavender•14mo ago
@Omer on codeSandbox there are lost of templates. Is there one that the community officially supports and updates?
https://i.imgur.com/irjV1s9.png
for example or data-provider?
crude-lavender•14mo ago
Both, I want to setup some examples for new feature requests and release a new dataProvider. 😁
You can use the following commands:
For simple-rest:
npx degit https://github.com/refinedev/refine/packages/simple-rest refine-trpc
For example:
npm create refine-app@latest -- --example base-antd
crude-lavender•14mo ago
Thank you
FYI when cloning simple-rest I get this error installing dep.
https://pastebin.com/LYpLif1m
Do you have an idea? @Batu @aliemirs
stormy-gold•14mo ago
Checking RN
Hey @silentnyte, can you remove
@refinedev/cli
from package.json
's devDependencies
and try again?
I. think the version of react causing this one, I'll check in more details.crude-lavender•14mo ago
That gets me past the dep warnings but then I get all these build errors.
https://pastebin.com/RvaJZw0j
I also tried
npx degit https://github.com/refinedev/refine/packages/inferencer refine-inferencer
. This one install fine but will also not build be cause it is missing references to the parent repo.
https://pastebin.com/ZCZY0Lzgstormy-gold•14mo ago
For inferencer, its better to fork refine repo as a whole since its dependent on many other packages in the monorepo.
Cant see the errors in the screenshot
crude-lavender•14mo ago
That is odd. I wonder why it is blank? Try this one.
https://pastebin.com/ezDSEn24
stormy-gold•14mo ago
Gonna send you a dataprovider starter, Im on it.
crude-lavender•14mo ago
Scratch that last message. It is not the correct error message.
Here is the error message that I get with simple-rest
https://pastebin.com/RbwiaRst
stormy-gold•14mo ago
You can use this as a starter for DataProvider
stormy-gold•14mo ago
I'll publish it under a git repo tomorrow, but for now, I think this should do the work.
crude-lavender•14mo ago
Thank you
flat-fuchsia•8mo ago
Thanks Batu, did you publish the package?