Fabian Hiller
Fabian Hiller
Yes, in general it is a good idea to add it to the Standard Schema spec, but there is one drawback and that is the bundle size. Being forced to...
@lgrammel another option for the Vercel SDK could be a new function called `standardSchema` (similar to `jsonSchema`) that takes a Standard Schema as the first argument and a matching `toJsonFunction`...
AI SDK's are not the main use case Standard Schema is optimized for. Read more here: https://github.com/standard-schema/standard-schema?tab=readme-ov-file#background
Thank you for this contribution! I will try to review and merge it next week.
I did not forget this PR. Sorry for the delay. I will try to review it soon.
I just want to let you know that I am focusing on our v1 release first before reviewing this PR.
Have you investigated the problem? Do you know why it is not working for you?
Is your field controlled? https://modularforms.dev/solid/guides/controlled-fields
This could work: ```tsx { // Just add decimal points return Number(input).toFixed(2); // Or format to currency string return Number(input).toLocaleString('en', { style: "currency", currency: "USD" }); }, { on: 'input'...
Not sure if I am following, but you can add a "$" before the text element, but that has nothing to do with Modular Forms. It's just the visual representation...