David Huang (Dave)
David Huang (Dave)
```js const minIndex = arr => arr.indexOf(Math.min(...arr.filter(val => val > 0))); ```
A workaround I use is to use an HOC to force replace the whole `` upon `keyName` update. Not ideal when the children render take heavy performance resource. Demo code:...
我目前是放棄使用 `type="number"`, 直接透過 formatter 把 input 限制成僅限數字格式 ```html ```
Hi @jamejillagit , did you find the solution for this? I also faced the same.
This also impact other SDD tools such as [OpenSpec](https://github.com/Fission-AI/OpenSpec) in plan mode (proposal doc generation process), blocking the creation of necessary files.
> ```js > import React from 'react' > import { connect } from 'react-redux' > import { reduxForm } from 'redux-form' > > const PageOneComponent = () => {} >...
> Interesting, so you basically don't know if that subform component would be used in a bigger form or on its own. Did I get this correctly? > > If...
My approach was to: 1. Add `` tag to prevent empty `` getting stripped 2. Normalize the empty block's content ```ts export async function htmlToBlockNote(editor: BlockNoteEditor, html: string): Promise {...
Paste unformatted keyboard shortcut seems not working in latest version. On official [demo](https://www.blocknotejs.org/docs/getting-started/mantine) using Chrome on Mac: 1. Select bold text 2. Paste selection with `cmd + shift + v`...
> @sailor95, what browser were you using to find this? I've seen that safari on mac seems to have this problem still Chrome on Mac using latest version.