chore: resetting the fields

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-09-29 10:15:48 +02:00
parent 2548b5a590
commit 2d58be910d
6 changed files with 12 additions and 12 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import React from 'react';
import type { FieldValidation } from '@rjsf/utils';
import type { FieldValidation } from '@rjsf/core';
import {
createScaffolderFieldExtension,
FieldExtensionComponentProps,
@@ -30,7 +30,7 @@ const TextValuePicker = (props: FieldExtensionComponentProps<string>) => {
schema: { title, description },
rawErrors,
formData,
uiSchema: { 'ui:autofocus': autoFocus } = {},
uiSchema: { 'ui:autofocus': autoFocus },
idSchema,
placeholder,
} = props;